mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-29 00:20:17 -05:00
Fixed Pack-a-Punch not being powered off correctly
This commit is contained in:
@ -534,7 +534,10 @@ disable_perk_pause()
|
|||||||
|
|
||||||
if (IsDefined(item.target) && IsDefined(item.target.targetname) && item.target.targetname == "zombie_vending")
|
if (IsDefined(item.target) && IsDefined(item.target.targetname) && item.target.targetname == "zombie_vending")
|
||||||
{
|
{
|
||||||
item.power_off_func = ::perk_power_off;
|
if (item.target.script_noteworthy != "specialty_weapupgrade")
|
||||||
|
{
|
||||||
|
item.power_off_func = ::perk_power_off;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user