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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}
}