From 556e48b431b4f0cc40770c4880153fc24200a073 Mon Sep 17 00:00:00 2001 From: nemvar Date: Thu, 19 Mar 2020 14:18:23 +0100 Subject: [PATCH] Heads can no longer grants all access. --- code/modules/modular_computers/file_system/programs/card.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/modular_computers/file_system/programs/card.dm b/code/modules/modular_computers/file_system/programs/card.dm index 7ac40123b5a..0c96b5f23a8 100644 --- a/code/modules/modular_computers/file_system/programs/card.dm +++ b/code/modules/modular_computers/file_system/programs/card.dm @@ -232,13 +232,13 @@ playsound(computer, "terminal_type", 50, FALSE) return TRUE if("PRG_grantall") - if(!computer || !authenticated) + if(!computer || !authenticated || minor) return id_card.access |= (is_centcom ? get_all_centcom_access() : get_all_accesses()) playsound(computer, 'sound/machines/terminal_prompt_confirm.ogg', 50, FALSE) return TRUE if("PRG_denyall") - if(!computer || !authenticated) + if(!computer || !authenticated || minor) return id_card.access.Cut() playsound(computer, 'sound/machines/terminal_prompt_deny.ogg', 50, FALSE)