Slag Incinerator Rework: No Slag Consumption Rate (#10197)

* Slag Incinerator: No Slag Consumption Rate

* If Amount = 0 in LiquidDisplay, Don't display /sec

* reinstated changes

* Delete core/src/mindustry/ui/LiquidDisplay.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
SomeonesShade
2024-10-05 03:33:06 +08:00
committed by GitHub
parent ac5a9f4563
commit 4f08873bb9
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ public class StatValues{
}
}}).size(iconMed).padRight(3 + (amount != 0 && Strings.autoFixed(amount, 2).length() > 2 ? 8 : 0)).with(s -> withTooltip(s, liquid, false));
if(perSecond){
if(perSecond && amount != 0){
t.add(StatUnit.perSecond.localized()).padLeft(2).padRight(5).color(Color.lightGray).style(Styles.outlineLabel);
}