mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Melee weapons: fix being given after taking all weapons
This commit is contained in:
parent
c028d42c5a
commit
c5985d58cb
@ -1350,16 +1350,16 @@ held_melee_weapon_world_model_fix()
|
|||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
if (is_true(self.afterlife))
|
melee_weapon = self get_player_melee_weapon();
|
||||||
|
current_weapon = self getcurrentweapon();
|
||||||
|
|
||||||
|
if (getweaponmodel(melee_weapon) == "t6_wpn_none_world")
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
melee_weapon = self get_player_melee_weapon();
|
if (!self hasweapon(melee_weapon) && !self hasweapon("held_" + melee_weapon))
|
||||||
current_weapon = self getcurrentweapon();
|
|
||||||
|
|
||||||
if (getweaponmodel(melee_weapon) == "t6_wpn_none_world")
|
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user