Fixed beam node replacement update

This commit is contained in:
Anuken
2022-05-07 11:21:35 -04:00
parent 7885a46cd5
commit f99a523002

View File

@@ -173,6 +173,7 @@ public class BeamNode extends PowerBlock{
//unlinked, disconnect and reflow
if(prev != null){
prev.power.links.removeValue(pos());
power.links.removeValue(prev.pos());
PowerGraph newgraph = new PowerGraph();
//reflow from this point, covering all tiles on this side