Skip to content

Commit

Permalink
Display Empty Battery if charge falls below 0 as well as equaling 0
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadZeratul committed Apr 28, 2024
1 parent 57a1c81 commit 3d92b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zscript/icarus/weapons/Fenris/fenris.zs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3d92b17

Please sign in to comment.