From 603fa03826114619a7b4725353b271a914c61dcf Mon Sep 17 00:00:00 2001 From: Kilakk Date: Sat, 3 Aug 2013 23:39:51 -0400 Subject: [PATCH] Shuttle doors will now close and lock upon departure --- code/controllers/shuttle_controller.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/controllers/shuttle_controller.dm b/code/controllers/shuttle_controller.dm index e6d58ef6386..57407141657 100644 --- a/code/controllers/shuttle_controller.dm +++ b/code/controllers/shuttle_controller.dm @@ -326,9 +326,11 @@ datum/shuttle_controller settimeleft(SHUTTLETRANSITTIME) start_location.move_contents_to(end_location, null, NORTH) - for(var/obj/machinery/door/D in end_location) + for(var/obj/machinery/door/unpowered/shuttle/D in end_location) spawn(0) D.close() + D.locked = 1 + // Some aesthetic turbulance shaking for(var/mob/M in end_location) if(M.client)