Fixes old ferry shuttles (e.g. supply) not being able to use move() directly.

This shouldn't be necessary once the supply and emergency shuttles are
updated to the new system, however it will keep them working in the meantime.
This commit is contained in:
mwerezak
2014-06-15 11:57:57 -04:00
committed by ZomgPonies
parent 966554cac5
commit 93060a2766
+5
View File
@@ -40,6 +40,11 @@
..(departing, destination, interim, travel_time)
/datum/shuttle/ferry/move(var/area/origin,var/area/destination)
if(!destination)
destination = (location == 1 ? area_station : area_offsite)
if(!origin)
origin = (location == 1 ? area_offsite : area_station)
if (docking_controller && !docking_controller.undocked())
docking_controller.force_undock()
..(origin, destination)