1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Hide secondary hint strings if player is not valid

This commit is contained in:
Jbleezy
2023-05-14 22:07:10 -07:00
parent 4d524d2389
commit 2da12b6771
3 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ show_current_weapon(player)
while ( isDefined( self ) )
{
if (!player isTouching(self) || player isSprinting() || player isThrowingGrenade())
if (!player isTouching(self) || !is_player_valid(player) || player isSprinting() || player isThrowingGrenade())
{
hud.alpha = 0;
wait 0.05;