Merge pull request #32269 from ninjanomnom/cargo-shuttle-moblock

Makes enterTransit check canMove and sets mode to idle
This commit is contained in:
oranges
2017-11-02 09:51:45 +13:00
committed by CitadelStationBot
parent 56c534fa62
commit eb7ee7fb58
+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)