[MIRROR] Fix ventcrawl breathing and visuals (#6069)

* Fix ventcrawl breathing and component icons (#36591)

* Fix ventcrawl breathing and visuals
This commit is contained in:
CitadelStationBot
2018-03-22 06:12:07 -05:00
committed by Poojawa
parent b02180de44
commit 83a2cda51f
2 changed files with 4 additions and 1 deletions
@@ -54,10 +54,10 @@ Pipenet stuff; housekeeping
*/
/obj/machinery/atmospherics/components/nullifyNode(i)
..()
if(nodes[i])
nullifyPipenet(parents[i])
QDEL_NULL(airs[i])
..()
/obj/machinery/atmospherics/components/on_construction()
..()
@@ -59,6 +59,9 @@
/obj/machinery/atmospherics/pipe/return_air()
return parent.air
/obj/machinery/atmospherics/pipe/remove_air(amount)
return parent.air.remove(amount)
/obj/machinery/atmospherics/pipe/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/device/analyzer))
atmosanalyzer_scan(parent.air, user)