From 7aac99d4d7fccbcb3ff9ccbc8b00c9e68e3b24b2 Mon Sep 17 00:00:00 2001 From: ACCount Date: Fri, 8 Dec 2017 21:09:06 +0300 Subject: [PATCH] Fixes air alarm gas thresholds being impossible to change (#33359) --- code/modules/atmospherics/machinery/airalarm.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/atmospherics/machinery/airalarm.dm b/code/modules/atmospherics/machinery/airalarm.dm index efe45f4e84..952ee0e068 100644 --- a/code/modules/atmospherics/machinery/airalarm.dm +++ b/code/modules/atmospherics/machinery/airalarm.dm @@ -356,6 +356,9 @@ . = TRUE if("threshold") var/env = params["env"] + if(text2path(env)) + env = text2path(env) + var/name = params["var"] var/datum/tlv/tlv = TLV[env] if(isnull(tlv))