From f0b02fac5694ca606ea480225faa88ff9a5fe1f2 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 19 Jan 2018 10:37:36 -0500 Subject: [PATCH] Merge pull request #34501 from AutomaticFrenzy/patch/mapping-scrubbers 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 bbf614ac84..2437b85dde 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