From 3ce86fb8860deb176270fa594e8ec6f47c04ac74 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Mon, 25 Jan 2021 01:08:08 -0800 Subject: [PATCH] _zm_gametype.gsc: Used is_true(). --- patch_zm/maps/mp/gametypes_zm/_zm_gametype.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch_zm/maps/mp/gametypes_zm/_zm_gametype.gsc b/patch_zm/maps/mp/gametypes_zm/_zm_gametype.gsc index c038e62..3e8bd7c 100644 --- a/patch_zm/maps/mp/gametypes_zm/_zm_gametype.gsc +++ b/patch_zm/maps/mp/gametypes_zm/_zm_gametype.gsc @@ -324,7 +324,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme self.last_damage_from_zombie_or_player = 1; } } - if ( isDefined( self._being_shellshocked ) || self._being_shellshocked && self maps/mp/zombies/_zm_laststand::player_is_in_laststand() ) + if ( is_true( self._being_shellshocked ) || self maps/mp/zombies/_zm_laststand::player_is_in_laststand() ) { return; }