The admin functions and comms console options to switch the level of access of the maint doors will now work properly and not runtime.

This commit is contained in:
Aranclanos
2014-03-14 01:57:42 -03:00
parent 3598d4f28e
commit 6dffc8a72f
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -2033,11 +2033,13 @@
switch(href_list["secretscoder"])
if("maint_access_brig")
for(var/obj/machinery/door/airlock/maintenance/M in world)
M.check_access()
if (access_maint_tunnels in M.req_access)
M.req_access = list(access_brig)
message_admins("[key_name_admin(usr)] made all maint doors brig access-only.")
if("maint_access_engiebrig")
for(var/obj/machinery/door/airlock/maintenance/M in world)
M.check_access()
if (access_maint_tunnels in M.req_access)
M.req_access = list()
M.req_one_access = list(access_brig,access_engine)