mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Merge pull request #4251 from ComicIronic/VentChangePipe
Ventcrawling fixes
This commit is contained in:
@@ -56,11 +56,9 @@ var/global/list/cryo_health_indicator = list( "full" = image("icon" = 'icons/obj
|
||||
/obj/machinery/atmospherics/unary/cryo_cell/initialize()
|
||||
if(node) return
|
||||
for(var/cdir in cardinal)
|
||||
if(node) break
|
||||
for(var/obj/machinery/atmospherics/target in get_step(src,cdir))
|
||||
if(target.initialize_directions & get_dir(target,src))
|
||||
node = target
|
||||
break
|
||||
node = findConnecting(cdir)
|
||||
if(node)
|
||||
break
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/unary/cryo_cell/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user