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:07:35 -04:00
committed by ZomgPonies
parent e4a6de6c58
commit b39093732b
+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