mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Fixes issue #2053
Shuttle doors now close just before the shuttle leaves.
This commit is contained in:
@@ -288,6 +288,12 @@ datum/shuttle_controller
|
||||
|
||||
if(1)
|
||||
|
||||
// Just before it leaves, close the damn doors!
|
||||
if(timeleft == 2 || timeleft == 1)
|
||||
for(var/obj/machinery/door/D in end_location)
|
||||
spawn(0)
|
||||
D.close()
|
||||
|
||||
if(timeleft>0)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user