mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Mule Kick: move weapon slot update into separate function
Mule Kick: update weapon slots right before taking additional weapon Mule Kick: update weapon slots if player does not have Mule Kick Mule Kick: don't update weapon slots if player is spectating
This commit is contained in:
@ -1217,6 +1217,8 @@ take_additionalprimaryweapon()
|
||||
if (isdefined(self._retain_perks) && self._retain_perks || isdefined(self._retain_perks_array) && (isdefined(self._retain_perks_array["specialty_additionalprimaryweapon"]) && self._retain_perks_array["specialty_additionalprimaryweapon"]))
|
||||
return undefined;
|
||||
|
||||
self scripts\zm\_zm_reimagined::additionalprimaryweapon_update_weapon_slots();
|
||||
|
||||
weapon_to_take = self.weapon_to_take_by_losing_specialty_additionalprimaryweapon;
|
||||
|
||||
if (!isDefined(weapon_to_take) || !self hasWeapon(weapon_to_take))
|
||||
|
Reference in New Issue
Block a user