This commit is contained in:
Anuken
2026-06-20 21:43:51 -04:00
parent 59347a3de1
commit 1f1df02356
@@ -1800,6 +1800,11 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
if(power != null && updatePower){
var oldGraph = power.graph;
for(var other : proximity){
if(other != null && other.team != team && other.power != null && other.power.graph == oldGraph){
new PowerGraph().reflow(other);
}
}
for(int i = 0; i < power.links.size; i++){
var other = world.build(power.links.items[i]);