From e032ecd4c8e400fb60eccffb9fd8b625b5f69e0a Mon Sep 17 00:00:00 2001 From: ineedbots Date: Sat, 27 Nov 2021 00:06:41 -0600 Subject: [PATCH] fix --- main_shared/maps/mp/gametypes/_globallogic.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_shared/maps/mp/gametypes/_globallogic.gsc b/main_shared/maps/mp/gametypes/_globallogic.gsc index 55e9ea2..7d302ec 100644 --- a/main_shared/maps/mp/gametypes/_globallogic.gsc +++ b/main_shared/maps/mp/gametypes/_globallogic.gsc @@ -6273,7 +6273,7 @@ finishPlayerDamageWrapper( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeat { if ( !isDefined( eAttacker ) ) { - if ( !isDefined( eInflictor ) ) + if ( !isDefined( eInflictor ) && isDefined( self.printDamage ) && self.printDamage ) self thread doPrintDamage( iDamage, sHitLoc, iDFlags ); } else if ( isPlayer( eAttacker ) && isDefined( eAttacker.printDamage ) && eAttacker.printDamage )