From 1064d20adad5cf050f7809ed6ff3d1099e1d27a3 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Sat, 6 May 2023 21:51:47 -0700 Subject: [PATCH] Fix crawlers not respawning after bleeding out --- scripts/zm/replaced/_zm.gsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index c48e1090..c3ea789e 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -268,10 +268,13 @@ round_spawn_failsafe() if ( isdefined( level.put_timed_out_zombies_back_in_queue ) && level.put_timed_out_zombies_back_in_queue && !flag( "dog_round" ) ) { - if ( !self.ignoreall && !( isdefined( self.nuked ) && self.nuked ) && !( isdefined( self.marked_for_death ) && self.marked_for_death ) && !( isdefined( self.isscreecher ) && self.isscreecher ) && ( isdefined( self.has_legs ) && self.has_legs ) && !( isdefined( self.is_brutus ) && self.is_brutus ) ) + if ( !self.ignoreall && !( isdefined( self.nuked ) && self.nuked ) && !( isdefined( self.marked_for_death ) && self.marked_for_death ) && !( isdefined( self.isscreecher ) && self.isscreecher ) && !( isdefined( self.is_brutus ) && self.is_brutus ) ) { level.zombie_total++; level.zombie_total_subtract++; + + if ( self.health < level.zombie_health ) + level.zombie_respawned_health[level.zombie_respawned_health.size] = self.health; } }