From 3d92b179263b4aa22e7e99fef0c7022c873bb944 Mon Sep 17 00:00:00 2001 From: UndeadZeratul Date: Sat, 27 Apr 2024 19:50:28 -0500 Subject: [PATCH] Display Empty Battery if charge falls below 0 as well as equaling 0 --- zscript/icarus/weapons/Fenris/fenris.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zscript/icarus/weapons/Fenris/fenris.zs b/zscript/icarus/weapons/Fenris/fenris.zs index 9ebc876..e4b7211 100644 --- a/zscript/icarus/weapons/Fenris/fenris.zs +++ b/zscript/icarus/weapons/Fenris/fenris.zs @@ -117,7 +117,7 @@ class HDFenris : HDCellWeapon sb.DrawString(sb.pSmallFont, Col..BatPercent.."%\c-", (-14, -12), sb.DI_TEXT_ALIGN_RIGHT | sb.DI_SCREEN_CENTER_BOTTOM, Font.CR_DARKGRAY); } - else if (BatteryCharge == 0) + else if (BatteryCharge <= 0) { sb.DrawString(sb.mAmountFont, "00000", (-14, -10), sb.DI_TEXT_ALIGN_RIGHT | sb.DI_TRANSLATABLE | sb.DI_SCREEN_CENTER_BOTTOM, Font.CR_DARKGRAY); }