From 437f5fecb1676ea1b6c5f8cfe83087f078796227 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Mon, 15 Jan 2018 18:03:26 -0800 Subject: [PATCH] Allow mapping non-default scrubbers --- .../machinery/components/unary_devices/vent_scrubber.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm index bbf614ac84d..2437b85dde5 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm @@ -34,6 +34,10 @@ ..() if(!id_tag) id_tag = assign_uid_vents() + for(var/f in filter_types) + if(istext(f)) + filter_types -= f + filter_types += gas_id2path(f) /obj/machinery/atmospherics/components/unary/vent_scrubber/on on = TRUE