Merge pull request #4214 from Citadel-Station-13/upstream-merge-33288

[MIRROR] Fixes powernets
This commit is contained in:
deathride58
2017-12-05 20:17:33 +00:00
committed by GitHub
+1 -1
View File
@@ -430,7 +430,7 @@ By design, d1 is the smallest direction and d2 is the highest
loc = null
powernet.remove_cable(src) //remove the cut cable from its powernet
addtimer(CALLBACK(src, .proc/auto_propogate_cut_cable, O), 0) //so we don't rebuild the network X times when singulo/explosion destroys a line of X cables
addtimer(CALLBACK(O, .proc/auto_propogate_cut_cable, O), 0) //so we don't rebuild the network X times when singulo/explosion destroys a line of X cables
// Disconnect machines connected to nodes
if(d1 == 0) // if we cut a node (O-X) cable