This commit is contained in:
Contrabang
2023-05-23 11:33:41 +02:00
committed by GitHub
parent 10f6187ffc
commit 8b7f4c8b69
@@ -132,7 +132,7 @@
var/obj/item/card/id/I = H.get_idcard(TRUE)
if(istype(I))
// You must have captain access and it must be red alert or lower (no getting off delta/epsilon)
if(ACCESS_CAPTAIN in I.access && GLOB.security_level <= SEC_LEVEL_RED)
if((ACCESS_CAPTAIN in I.access) && GLOB.security_level <= SEC_LEVEL_RED)
change_security_level(text2num(params["level"]))
else
to_chat(usr, "<span class='warning'>You are not authorized to do this.</span>")