diff --git a/scripts/zm/main/_zm_reimagined.gsc b/scripts/zm/main/_zm_reimagined.gsc index acbe908f..9363dada 100644 --- a/scripts/zm/main/_zm_reimagined.gsc +++ b/scripts/zm/main/_zm_reimagined.gsc @@ -32,6 +32,7 @@ onplayerconnect() { level waittill("connecting", player); player thread onplayerspawned(); + player thread onplayerdowned(); } } @@ -112,6 +113,19 @@ onplayerspawned() } } +onplayerdowned() +{ + level endon( "game_ended" ); + self endon( "disconnect" ); + + while(1) + { + self waittill( "entering_last_stand" ); + + self.health = self.maxhealth; + } +} + post_all_players_spawned() { flag_wait( "start_zombie_round_logic" );