diff --git a/core/src/mindustry/world/blocks/power/PowerDiode.java b/core/src/mindustry/world/blocks/power/PowerDiode.java index 742fde4fd2..5fa2e1ba50 100644 --- a/core/src/mindustry/world/blocks/power/PowerDiode.java +++ b/core/src/mindustry/world/blocks/power/PowerDiode.java @@ -56,7 +56,7 @@ public class PowerDiode extends Block{ public void updateTile(){ super.updateTile(); - if(tile == null || front() == null || back() == null || !back().block.hasPower || !front().block.hasPower || back().team != front().team) return; + if(tile == null || front() == null || back() == null || !back().block.hasPower || !front().block.hasPower || back().team != team || front().team != team) return; PowerGraph backGraph = back().power.graph; PowerGraph frontGraph = front().power.graph;