True placement efficiency percentages text in ThermalGenerator (#11597)

This commit is contained in:
Sputnuc
2026-02-07 06:40:10 +07:00
committed by GitHub
parent 7bbb81cd17
commit 3dd3cf5a28

View File

@@ -61,7 +61,7 @@ public class ThermalGenerator extends PowerGenerator{
super.drawPlace(x, y, rotation, valid);
if(displayEfficiency){
drawPlaceText(Core.bundle.formatFloat("bar.efficiency", sumAttribute(attribute, x, y) * 100, 1), x, y, valid);
drawPlaceText(Core.bundle.formatFloat("bar.efficiency", sumAttribute(attribute, x, y) * 100 * displayEfficiencyScale, 1), x, y, valid);
}
}