From 29fd3ab8a8f7df6bbc6f17df6ac8df2199ec8555 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Wed, 21 Mar 2018 20:05:34 -0700 Subject: [PATCH] Fix ventcrawl breathing and component icons (#36591) --- .../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 e7f4d7844a8..28148c03643 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 8f6b3976bf6..73aaa168202 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)