Fix incorrect ammo counter

This commit is contained in:
LightCat 2018-12-03 21:10:55 +01:00 committed by GitHub
parent 6a25c18657
commit 767855b470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,7 +319,7 @@ static HookedFunction cm(HF_CreateMove, "catbot", 5, []() {
if (ammo0 + ammo2 > max_ammo)
max_ammo = ammo0 + ammo2;
health = format("Health: ", curr_hp, "/", max_hp);
ammo = format("Ammo :", ammo0, "/", max_ammo);
ammo = format("Ammo :", ammo0+ammo2, "/", max_ammo);
}
if (g_Settings.bInvalid)
return;