Fixes air alarm gas thresholds being impossible to change (#33359)

This commit is contained in:
ACCount
2017-12-08 21:09:06 +03:00
committed by CitadelStationBot
parent 8961c8c369
commit 7aac99d4d7
@@ -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))