mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-05 23:20:27 +07:00
Fixed the display of the oil extractor efficiency (#5915)
This commit is contained in:
parent
6984be2172
commit
3714077fbe
@ -38,7 +38,7 @@ public class SolidPump extends Pump{
|
||||
drawPotentialLinks(x, y);
|
||||
|
||||
if(attribute != null){
|
||||
drawPlaceText(Core.bundle.formatFloat("bar.efficiency", Math.max(sumAttribute(attribute, x, y) / size / size + baseEfficiency, 0f) * 100 * percentSolid(x, y), 1), x, y, valid);
|
||||
drawPlaceText(Core.bundle.format("bar.efficiency", Math.round(Math.max(sumAttribute(attribute, x, y) / size / size + baseEfficiency, 0f) * 100 * percentSolid(x, y))), x, y, valid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user