From 1f1df0235600dc5e93cd417ca9dc7f3ebd9f1733 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 20 Jun 2026 21:43:51 -0400 Subject: [PATCH] Fixed #12214 --- core/src/mindustry/entities/comp/BuildingComp.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/mindustry/entities/comp/BuildingComp.java b/core/src/mindustry/entities/comp/BuildingComp.java index a698a38fa3..150b32ec6e 100644 --- a/core/src/mindustry/entities/comp/BuildingComp.java +++ b/core/src/mindustry/entities/comp/BuildingComp.java @@ -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]);