Skip to content

Commit

Permalink
Merge pull request #28 from UndeadZeratul/main
Browse files Browse the repository at this point in the history
Display Empty Battery if charge falls below 0 as well as equaling 0
  • Loading branch information
UndeadZeratul authored Apr 28, 2024
2 parents 57a1c81 + 3d92b17 commit 6c1ed31
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 6c1ed31

Please sign in to comment.