mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
CLIENT: Fix "LOW AMMO" incorrectly triggering
This commit is contained in:
parent
88c08e24b4
commit
4e88aa404a
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ void() HUD_AmmoString =
|
|||
message = "NO AMMO";
|
||||
textcolor = [215/255, 0, 0];
|
||||
}
|
||||
// Display LOW AMMO if both are low.
|
||||
else if (reserve_is_low == true && mag_is_low == true)
|
||||
// Display LOW AMMO if mag is low and reserve is empty
|
||||
else if (mag_is_low == true && getstatf(STAT_AMMO) <= 0)
|
||||
{
|
||||
message = "LOW AMMO";
|
||||
textcolor = [219/255, 203/255, 19/255];
|
||||
|
|
Loading…
Reference in a new issue