diff --git a/scripts/zm/_zm_reimagined_grief.gsc b/scripts/zm/_zm_reimagined_grief.gsc index f75dc682..b103c622 100644 --- a/scripts/zm/_zm_reimagined_grief.gsc +++ b/scripts/zm/_zm_reimagined_grief.gsc @@ -308,17 +308,19 @@ round_start_wait(time, initial) initial = false; } - if(!initial) - { - wait_network_frame(); // need a wait or players can move - } - level thread zombie_spawn_wait(time + 5); players = get_players(); foreach(player in players) { - player freezeControls(1); + if(!initial) + { + player thread wait_and_freeze_controls(1); // need a wait or players can move + } + else + { + player freezeControls(1); + } player enableInvulnerability(); } @@ -336,6 +338,15 @@ round_start_wait(time, initial) } } +wait_and_freeze_controls(bool) +{ + self endon("disconnect"); + + wait_network_frame(); + + self freezeControls(bool); +} + round_start_countdown_hud(time) { countdown = createServerFontString( "objective", 2.2 );