Quick sync (#2587)

* sync since the mirror was down

* fucking byond

* can't forget these
This commit is contained in:
LetterJay
2017-09-04 04:38:49 -05:00
committed by Poojawa
parent 241a10d88d
commit 92e055be97
20 changed files with 336 additions and 70 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")))
if(dock(SSshuttle.getDock("emergency_home")) != DOCKING_SUCCESS)
setTimer(20)
return
mode = SHUTTLE_DOCKED
+4 -4
View File
@@ -418,7 +418,7 @@
var/obj/docking_port/stationary/S0 = get_docked()
var/obj/docking_port/stationary/S1 = assigned_transit
if(S1)
if(dock(S1))
if(dock(S1) != DOCKING_SUCCESS)
WARNING("shuttle \"[id]\" could not enter transit space. Docked at [S0 ? S0.id : "null"]. Transit dock [S1 ? S1.id : "null"].")
else
previous = S0
@@ -498,7 +498,7 @@
if(new_dock.get_docked() == src)
remove_ripples()
return DOCKING_COMPLETE
return DOCKING_SUCCESS
if(!force)
if(!check_dock(new_dock))
@@ -650,11 +650,11 @@
// then try again
switch(mode)
if(SHUTTLE_CALL)
if(dock(destination, preferred_direction))
if(dock(destination, preferred_direction) != DOCKING_SUCCESS)
setTimer(20)
return
if(SHUTTLE_RECALL)
if(dock(previous))
if(dock(previous) != DOCKING_SUCCESS)
setTimer(20)
return
if(SHUTTLE_IGNITING)