From 656ca9950b457035ff4909e71b1a4813e5183f6e Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Mon, 22 Aug 2022 16:38:54 -0700 Subject: [PATCH] fixes security levels --- code/controllers/subsystem/security_level.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/security_level.dm b/code/controllers/subsystem/security_level.dm index 94fa822e8b..7e88118761 100644 --- a/code/controllers/subsystem/security_level.dm +++ b/code/controllers/subsystem/security_level.dm @@ -14,7 +14,7 @@ SUBSYSTEM_DEF(security_level) */ /datum/controller/subsystem/security_level/proc/set_level(new_level) if(!isnum(new_level)) - new_level = GLOB.all_security_levels.Find() + new_level = SECLEVEL2NUM(new_level) //Will not be announced if you try to set to the same level as it already is if(new_level >= SEC_LEVEL_GREEN && new_level <= SEC_LEVEL_DELTA && new_level != GLOB.security_level)