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)