mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Shuttle doors will now close and lock upon departure
This commit is contained in:
@@ -326,9 +326,11 @@ datum/shuttle_controller
|
|||||||
settimeleft(SHUTTLETRANSITTIME)
|
settimeleft(SHUTTLETRANSITTIME)
|
||||||
start_location.move_contents_to(end_location, null, NORTH)
|
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)
|
spawn(0)
|
||||||
D.close()
|
D.close()
|
||||||
|
D.locked = 1
|
||||||
|
|
||||||
// Some aesthetic turbulance shaking
|
// Some aesthetic turbulance shaking
|
||||||
for(var/mob/M in end_location)
|
for(var/mob/M in end_location)
|
||||||
if(M.client)
|
if(M.client)
|
||||||
|
|||||||
Reference in New Issue
Block a user