mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-21 20:12:20 -08:00
maxheatefficiency display hotfix (#11486)
This commit is contained in:
parent
c425828f4e
commit
fc8056343b
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ public class Turret extends ReloadTurret{
|
|||
stats.add(Stat.targetsGround, targetGround);
|
||||
if(ammoPerShot != 1) stats.add(Stat.ammoUse, ammoPerShot, StatUnit.perShot);
|
||||
if(heatRequirement > 0) stats.add(Stat.input, heatRequirement, StatUnit.heatUnits);
|
||||
if(maxHeatEfficiency > 0) stats.add(Stat.maxEfficiency, (int)(maxHeatEfficiency * 100f), StatUnit.percent);
|
||||
if(heatRequirement > 0 && maxHeatEfficiency > 0) stats.add(Stat.maxEfficiency, (int)(maxHeatEfficiency * 100f), StatUnit.percent);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue