From a2c7b435e9a12862d0294143c7aae96132b9ed60 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sat, 26 Dec 2015 22:21:56 -0800 Subject: [PATCH 1/2] Fixes portable connector keeping air OH GOD I HOPE THIS DOESN'T BREAK SOMETHING. It shouldn't they link directly into the pipenet. --- .../ATMOSPHERICS/components/unary_devices/portables_connector.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm b/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm index d9e649c7a13..1c37e882211 100644 --- a/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm +++ b/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm @@ -6,6 +6,7 @@ can_unwrench = 1 var/obj/machinery/portable_atmospherics/connected_device use_power = 0 + volume = 0 level = 0 /obj/machinery/atmospherics/components/unary/portables_connector/visible From 3a51b0e4e06d60f6496ada07815992ea5cf8bc07 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sat, 26 Dec 2015 22:30:42 -0800 Subject: [PATCH 2/2] Does it right --- .../components/unary_devices/portables_connector.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm b/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm index 1c37e882211..e4b9622b481 100644 --- a/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm +++ b/code/ATMOSPHERICS/components/unary_devices/portables_connector.dm @@ -6,9 +6,14 @@ can_unwrench = 1 var/obj/machinery/portable_atmospherics/connected_device use_power = 0 - volume = 0 level = 0 +/obj/machinery/atmospherics/components/unary/portables_connector/New() + ..() + var/datum/gas_mixture/air_contents = AIR1 + + air_contents.volume = 0 + /obj/machinery/atmospherics/components/unary/portables_connector/visible level = 2