Shuttle doors now close just before the shuttle leaves.
This commit is contained in:
cib
2012-12-16 03:58:43 +01:00
parent caf56c4c7d
commit 16a31a0cc3

View File

@@ -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