From 83a2cda51f7cd1011344f16a32f639accb9ac6c5 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 22 Mar 2018 06:12:07 -0500 Subject: [PATCH] [MIRROR] Fix ventcrawl breathing and visuals (#6069) * Fix ventcrawl breathing and component icons (#36591) * Fix ventcrawl breathing and visuals --- .../atmospherics/machinery/components/components_base.dm | 2 +- code/modules/atmospherics/machinery/pipes/pipes.dm | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/atmospherics/machinery/components/components_base.dm b/code/modules/atmospherics/machinery/components/components_base.dm index e7f4d7844a..28148c0364 100644 --- a/code/modules/atmospherics/machinery/components/components_base.dm +++ b/code/modules/atmospherics/machinery/components/components_base.dm @@ -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() ..() diff --git a/code/modules/atmospherics/machinery/pipes/pipes.dm b/code/modules/atmospherics/machinery/pipes/pipes.dm index 8f6b3976bf..73aaa16820 100644 --- a/code/modules/atmospherics/machinery/pipes/pipes.dm +++ b/code/modules/atmospherics/machinery/pipes/pipes.dm @@ -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)