mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-30 00:50:20 -05:00
Mule Kick: don't show third weapon indicator on last stand
Mule Kick: destroy third weapon indicator on intermission
This commit is contained in:
@ -3900,9 +3900,18 @@ additionalprimaryweapon_indicator()
|
|||||||
hud.hidewheninmenu = 1;
|
hud.hidewheninmenu = 1;
|
||||||
hud setShader("specialty_additionalprimaryweapon_zombies", 24, 24);
|
hud setShader("specialty_additionalprimaryweapon_zombies", 24, 24);
|
||||||
|
|
||||||
|
hud thread destroy_on_intermission();
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
self waittill_any("weapon_change", "specialty_additionalprimaryweapon_stop", "spawned_player");
|
self waittill_any("weapon_change", "specialty_additionalprimaryweapon_stop", "player_downed", "spawned_player");
|
||||||
|
|
||||||
|
if (!is_player_valid(self))
|
||||||
|
{
|
||||||
|
hud fadeOverTime(0.5);
|
||||||
|
hud.alpha = 0;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (self hasPerk("specialty_additionalprimaryweapon") && isDefined(self.a_saved_weapon) && self getCurrentWeapon() == self.a_saved_weapon["name"])
|
if (self hasPerk("specialty_additionalprimaryweapon") && isDefined(self.a_saved_weapon) && self getCurrentWeapon() == self.a_saved_weapon["name"])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user