Using connect() in initialize().

Fix for issue #2884.
This commit is contained in:
Segrain
2013-05-31 12:46:58 +03:00
parent a3e566e380
commit e7c5ac39d9
@@ -19,6 +19,14 @@
return 1
initialize()
. = ..()
spawn()
var/obj/machinery/atmospherics/portables_connector/port = locate() in loc
if(port)
connect(port)
update_icon()
process()
if(!connected_port) //only react when pipe_network will ont it do it for you
//Allow for reactions
@@ -135,4 +143,4 @@
user << "\blue Tank is empty!"
return
return
return