mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-24 08:22:54 +00:00
oversight gone (#21072)
This commit is contained in:
@@ -131,7 +131,8 @@
|
||||
var/mob/living/carbon/human/H = usr
|
||||
var/obj/item/card/id/I = H.get_idcard(TRUE)
|
||||
if(istype(I))
|
||||
if(ACCESS_CAPTAIN in I.access)
|
||||
// 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)
|
||||
change_security_level(text2num(params["level"]))
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>You are not authorized to do this.</span>")
|
||||
|
||||
Reference in New Issue
Block a user