mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-07 09:27:51 +07:00
Fixed #8194
This commit is contained in:
parent
65e92ab6fc
commit
85b8868d2b
@ -1746,7 +1746,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
public void updateConsumption(){
|
||||
//everything is valid when cheating
|
||||
if(!block.hasConsumers || cheating()){
|
||||
potentialEfficiency = efficiency = optionalEfficiency = enabled ? 1f : 0f;
|
||||
potentialEfficiency = efficiency = optionalEfficiency = enabled && shouldConsume() && productionValid() ? 1f : 0f;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user