Fixed beam node replacement update
This commit is contained in:
@@ -173,6 +173,7 @@ public class BeamNode extends PowerBlock{
|
|||||||
//unlinked, disconnect and reflow
|
//unlinked, disconnect and reflow
|
||||||
if(prev != null){
|
if(prev != null){
|
||||||
prev.power.links.removeValue(pos());
|
prev.power.links.removeValue(pos());
|
||||||
|
power.links.removeValue(prev.pos());
|
||||||
|
|
||||||
PowerGraph newgraph = new PowerGraph();
|
PowerGraph newgraph = new PowerGraph();
|
||||||
//reflow from this point, covering all tiles on this side
|
//reflow from this point, covering all tiles on this side
|
||||||
|
|||||||
Reference in New Issue
Block a user