Faster power graph reload / Fixed iOS editor margin
This commit is contained in:
@@ -84,8 +84,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
}else{
|
||||
if(block.hasPower){
|
||||
//reinit power graph
|
||||
power.graph = new PowerGraph();
|
||||
power.graph.add(self());
|
||||
new PowerGraph().add(self());
|
||||
}
|
||||
}
|
||||
this.rotation = rotation;
|
||||
|
||||
Reference in New Issue
Block a user