From 7e989b6b7ac005424a06afd59ec44beef174e7e0 Mon Sep 17 00:00:00 2001 From: Sean Williams <06sean@gmail.com> Date: Sun, 7 Mar 2021 22:26:29 +0000 Subject: [PATCH] Apply suggestions from farie code review Co-authored-by: Farie82 --- code/modules/admin/admin.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index f0b5f3c8653..f4f2bb3170e 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -788,15 +788,13 @@ GLOBAL_VAR_INIT(gamma_ship_location, 1) // 0 = station , 1 = space fromArea = locate(/area/shuttle/gamma/space) toArea = locate(/area/shuttle/gamma/station) for(var/obj/machinery/door/airlock/hatch/gamma/H in GLOB.airlocks) - H.locked = FALSE - H.update_icon() + H.unlock(TRUE) GLOB.event_announcement.Announce("Centcomm has deployed the Gamma Armory shuttle.", new_sound = 'sound/AI/commandreport.ogg') else fromArea = locate(/area/shuttle/gamma/station) toArea = locate(/area/shuttle/gamma/space) for(var/obj/machinery/door/airlock/hatch/gamma/H in GLOB.airlocks) - H.locked = TRUE - H.update_icon() + H.lock(TRUE) GLOB.event_announcement.Announce("Centcomm has recalled the Gamma Armory shuttle.", new_sound = 'sound/AI/commandreport.ogg') fromArea.move_contents_to(toArea)