Update building consume module before main update
This commit is contained in:
@@ -1509,6 +1509,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(cons != null){
|
||||||
|
cons.update();
|
||||||
|
}
|
||||||
|
|
||||||
if(enabled || !block.noUpdateDisabled){
|
if(enabled || !block.noUpdateDisabled){
|
||||||
updateTile();
|
updateTile();
|
||||||
}
|
}
|
||||||
@@ -1521,10 +1525,6 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
liquids.update(updateFlow);
|
liquids.update(updateFlow);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cons != null){
|
|
||||||
cons.update();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(power != null){
|
if(power != null){
|
||||||
power.graph.update();
|
power.graph.update();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user