mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +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)
|
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)
|
if(timeleft>0)
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user