Makes enterTransit check canMove and sets mode to idle

This commit is contained in:
ninjanomnom
2017-10-30 17:54:08 -04:00
parent 7a8a781bdd
commit dc359635ca
+2 -1
View File
@@ -416,7 +416,8 @@
mode = SHUTTLE_RECALL
/obj/docking_port/mobile/proc/enterTransit()
if(SSshuttle.lockdown && (z in GLOB.station_z_levels)) //emp went off, no escape
if((SSshuttle.lockdown && (z in GLOB.station_z_levels)) || !canMove()) //emp went off, no escape
mode = SHUTTLE_IDLE
return
previous = null
// if(!destination)