Apply suggestions from farie code review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Sean Williams
2021-03-07 22:26:29 +00:00
committed by GitHub
parent 352d398342
commit 7e989b6b7a
+2 -4
View File
@@ -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)