mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 22:31:36 -05:00
Melee weapons: fix not taking held melee weapon when purchasing new melee weapon
This commit is contained in:
parent
e2dd191f1a
commit
21b3a042a0
@ -106,6 +106,7 @@ change_melee_weapon(weapon_name, current_weapon)
|
|||||||
if (isDefined(current_melee_weapon) && current_melee_weapon != weapon_name)
|
if (isDefined(current_melee_weapon) && current_melee_weapon != weapon_name)
|
||||||
{
|
{
|
||||||
self takeweapon(current_melee_weapon);
|
self takeweapon(current_melee_weapon);
|
||||||
|
self takeweapon("held_" + current_melee_weapon);
|
||||||
unacquire_weapon_toggle(current_melee_weapon);
|
unacquire_weapon_toggle(current_melee_weapon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user