mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2026-12-05 03:58:39 +00:00
one more SRE prevention
This commit is contained in:
1 parent
980faf9174
commit
1a991fbc95
1 file changed
+1
-1
@@ -1178,7 +1178,7 @@ bot_chat_killed_watch( victim )
|
||||
break;
|
||||
|
||||
case 40:
|
||||
if ( isDefined( victim.attackerData[self.guid] ) && isDefined( victim.attackerData[self.guid].weapon ) )
|
||||
if ( isDefined( victim.attackerData ) && isDefined( victim.attackerData[self.guid] ) && isDefined( victim.attackerData[self.guid].weapon ) )
|
||||
message = ( "Man, I sure love my " + getBaseWeaponName( victim.attackerData[self.guid].weapon ) + "!" );
|
||||
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user