mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 11:20:39 -07:00
Efficiency fix
This commit is contained in:
parent
85b8868d2b
commit
6ef8d64d46
1 changed files with 1 additions and 0 deletions
|
|
@ -1747,6 +1747,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||
//everything is valid when cheating
|
||||
if(!block.hasConsumers || cheating()){
|
||||
potentialEfficiency = efficiency = optionalEfficiency = enabled && shouldConsume() && productionValid() ? 1f : 0f;
|
||||
updateEfficiencyMultiplier();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue