CLIENT: Fix "LOW AMMO" incorrectly triggering

This commit is contained in:
cypress 2023-11-08 09:21:04 -05:00
parent 88c08e24b4
commit 4e88aa404a

View file

@ -165,8 +165,8 @@ void() HUD_AmmoString =
message = "NO AMMO"; message = "NO AMMO";
textcolor = [215/255, 0, 0]; textcolor = [215/255, 0, 0];
} }
// Display LOW AMMO if both are low. // Display LOW AMMO if mag is low and reserve is empty
else if (reserve_is_low == true && mag_is_low == true) else if (mag_is_low == true && getstatf(STAT_AMMO) <= 0)
{ {
message = "LOW AMMO"; message = "LOW AMMO";
textcolor = [219/255, 203/255, 19/255]; textcolor = [219/255, 203/255, 19/255];