1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-10 22:08:14 -05:00

Melee weapons: fix missing checks for held weapon

This commit is contained in:
Jbleezy
2023-12-22 15:41:48 -08:00
parent 48a2f54898
commit 66f68fabc9
5 changed files with 76 additions and 2 deletions

View File

@ -1310,7 +1310,7 @@ actor_damage_override(inflictor, attacker, damage, flags, meansofdeath, weapon,
return damage;
}
if (weapon == "tazer_knuckles_zm" || weapon == "jetgun_zm")
if (issubstr(weapon, "tazer_knuckles_zm") || weapon == "jetgun_zm")
{
self.knuckles_extinguish_flames = 1;
}