This commit is contained in:
Anuken
2020-12-27 20:41:29 -05:00
parent 72686b3ef8
commit 3ef67cab69
2 changed files with 8 additions and 5 deletions

View File

@@ -755,9 +755,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
}
public void powerGraphRemoved(){
if(power == null){
return;
}
if(power == null) return;
power.graph.remove(self());
for(int i = 0; i < power.links.size; i++){