Skip to content

Commit

Permalink
reinstated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeonesShade committed Sep 30, 2024
1 parent 43a570c commit a17250d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mindustry/world/meta/StatValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static Table displayLiquid(Liquid liquid, float amount, boolean perSecond
}
}}).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);
}

Expand Down

0 comments on commit a17250d

Please sign in to comment.