Fixed some atmos machine New()'s not calling base's new at right time, and more importantly, initialize() selects new connections rather than aborting if previously connected, as the point of the initialize proc is for construction

This commit is contained in:
Tastyfish
2013-04-30 06:18:54 -04:00
parent a31e06ef50
commit ccc2c099dc
8 changed files with 33 additions and 8 deletions
@@ -60,7 +60,14 @@ obj/machinery/atmospherics/binary
..()
initialize()
if(node1 && node2) return
if(node1)
node1.disconnect(src)
del(network1)
node1 = null
if(node2)
node2.disconnect(src)
del(network2)
node2 = null
var/node2_connect = dir
var/node1_connect = turn(dir, 180)