Merge pull request #4276 from Citadel-Station-13/upstream-merge-33359

[MIRROR] Fixes air alarm gas thresholds being impossible to change
This commit is contained in:
deathride58
2017-12-08 18:46:33 +00:00
committed by GitHub
@@ -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))