From 9eac813007fd39bcd2d58bd2777b3692a38fd86e Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Mon, 22 May 2023 16:24:02 -0400 Subject: [PATCH] oversight gone (#21072) --- code/game/machinery/computer/communications.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 6cb2d2e8b4c..006963faee1 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -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, "You are not authorized to do this.")