dock() re-organization

This commit is contained in:
Emmett Gaines
2017-12-18 21:23:58 -06:00
committed by CitadelStationBot
parent d5708c981a
commit 8cf30a65fb
13 changed files with 266 additions and 28 deletions
+1 -1
View File
@@ -290,7 +290,7 @@
if(SHUTTLE_CALL)
if(time_left <= 0)
//move emergency shuttle to station
if(dock(SSshuttle.getDock("emergency_home")) != DOCKING_SUCCESS)
if(initiate_docking(SSshuttle.getDock("emergency_home")) != DOCKING_SUCCESS)
setTimer(20)
return
mode = SHUTTLE_DOCKED