mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Merge pull request #3030 from Razharas/UnaryMachinery
General cryo and unary atmos machinery fix
This commit is contained in:
@@ -51,6 +51,14 @@
|
||||
|
||||
update_icon()
|
||||
|
||||
default_change_direction_wrench(mob/user, /obj/item/weapon/wrench/W)
|
||||
if(..())
|
||||
initialize_directions = dir
|
||||
if(node)
|
||||
disconnect(node)
|
||||
initialize()
|
||||
. = 1
|
||||
|
||||
build_network()
|
||||
if(!network && node)
|
||||
network = new /datum/pipe_network()
|
||||
@@ -82,6 +90,7 @@
|
||||
|
||||
disconnect(obj/machinery/atmospherics/reference)
|
||||
if(reference==node)
|
||||
node.disconnect(src)
|
||||
del(network)
|
||||
node = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user