From 5c46f65de42692e5d73f6cbf356cf2f5d3db0500 Mon Sep 17 00:00:00 2001 From: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Date: Sat, 31 Dec 2022 15:19:10 +0530 Subject: [PATCH] Fixes atmos control not detecting Distro & Waste loop (#72287) ## About The Pull Request Fixes #72243 just had to append `"_sensor"` to its id cause atmos_control console uses that suffix a lot ## Changelog :cl: fix: atmos control can detect distro & waste loop sensors /:cl: Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> --- code/game/machinery/computer/atmos_computers/meters.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/computer/atmos_computers/meters.dm b/code/game/machinery/computer/atmos_computers/meters.dm index 3b032213631..797bee21ff5 100644 --- a/code/game/machinery/computer/atmos_computers/meters.dm +++ b/code/game/machinery/computer/atmos_computers/meters.dm @@ -2,6 +2,10 @@ /// The unique string that represents which atmos chamber to associate with. var/chamber_id +/obj/machinery/meter/monitored/Initialize(mapload, new_piping_layer) + id_tag = chamber_id + "_sensor" + . = ..() + /obj/machinery/meter/monitored/layer2 target_layer = 2