Fix for long_jumps never leaving transition area

The previous behaviour of move() called without arguments assumed a
short_jump, which meant that the wrong origin area would be used.
This commit is contained in:
mwerezak
2014-06-25 00:21:27 -04:00
parent 079a52de6a
commit fccc16f8b8
+1 -5
View File
@@ -47,15 +47,11 @@
..(departing, destination, interim, travel_time, direction)
/datum/shuttle/ferry/move(var/area/origin,var/area/destination)
if(!destination)
destination = get_location_area(!location)
if(!origin)
origin = get_location_area(location)
if (docking_controller && !docking_controller.undocked())
docking_controller.force_undock()
..(origin, destination)
..(origin, destination)
if (destination == area_station) location = 0
if (destination == area_offsite) location = 1