1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-28 16:10:24 -05:00

Fixed Pack-a-Punch not being powered off correctly

This commit is contained in:
Jbleezy
2020-03-07 17:05:59 -08:00
parent 3b8e87b0c7
commit 4dc5e9d487

View File

@ -533,10 +533,13 @@ disable_perk_pause()
item = level.powered_items[i];
if (IsDefined(item.target) && IsDefined(item.target.targetname) && item.target.targetname == "zombie_vending")
{
if (item.target.script_noteworthy != "specialty_weapupgrade")
{
item.power_off_func = ::perk_power_off;
}
}
}
}
perk_power_off( origin, radius )