mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 15:48:05 -05:00
Encounter: fix game ending during pregame lobby
This commit is contained in:
@ -610,8 +610,6 @@ fade_out_intro_screen_zm( hold_black_time, fade_out_time, destroyed_afterwards )
|
||||
if ( destroyed_afterwards == 1 )
|
||||
level.introscreen destroy();
|
||||
|
||||
level.match_started = 1;
|
||||
|
||||
flag_set( "initial_blackscreen_passed" );
|
||||
}
|
||||
|
||||
|
@ -727,7 +727,7 @@ grief_onplayerdisconnect(disconnecting_player)
|
||||
disconnecting_player.player_waypoint destroy();
|
||||
}
|
||||
|
||||
if(!flag("initial_players_connected"))
|
||||
if(!flag("initial_blackscreen_passed"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -1583,7 +1583,7 @@ should_respawn()
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!is_true(level.match_started))
|
||||
if (!flag("initial_blackscreen_passed"))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user