// decide if they will run into anything
const travelPlan = await stepForward(api.player.id);
- const closest: number = (travelPlan.current_position / travelPlan.total_distance) > 0.5 ? travelPlan.source_id : travelPlan.destination_id;
+ const closest: number = (travelPlan.current_position / travelPlan.total_distance) > 0.5 ? travelPlan.destination_id : travelPlan.source_id;
// send back NOTHING!
api.socket.emit('city:travel', {