From 0867f92c4a598ff9f9cef653c73136e8d3e8a5b8 Mon Sep 17 00:00:00 2001 From: Artur Date: Fri, 10 Jul 2020 19:52:49 +0300 Subject: [PATCH] Fixes APC Interface locks --- code/modules/power/apc.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 85e80dfc9c..6f8a33f506 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -863,7 +863,7 @@ if (H && !H.stealthmode && H.toggled) abilitiesavail = TRUE var/list/data = list( - "locked" = locked && !(integration_cog && is_servant_of_ratvar(user)) && !area.hasSiliconAccessInArea(user, PRIVILEDGES_SILICON|PRIVILEDGES_DRONE), + "locked" = locked, "lock_nightshift" = nightshift_requires_auth, "failTime" = failure_timer, "isOperating" = operating, @@ -981,7 +981,7 @@ failure_timer = 0 update_icon() update() - if (action == "hijack" && can_use(usr, 1)) //don't need auth for hijack button + if(action == "hijack" && can_use(usr, 1)) //don't need auth for hijack button hijack(usr) return var/authorized = (!locked || area.hasSiliconAccessInArea(usr, PRIVILEDGES_SILICON|PRIVILEDGES_DRONE) || (integration_cog && (is_servant_of_ratvar(usr))))