summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-14 22:18:21 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-14 22:18:21 +0200
commit119f2ea96ac28ffb008f073bf9b3e02840991183 (patch)
tree1e94c91004144e38fadb68efcc18f5cbd7da2a4e /lib/Travelynx.pm
parent772b4e3b23b10d3d628c29fac7a4eab6d05d686a (diff)
IRIS checkout: do not overwrite HAFAS route with IRIS route
The IRIS route may differ from the HAFAS route in case of diversions, causing travelynx to lose real-time data, coordinates, and polyline when the follow-up add_route_timestamps call is not made.
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 230441d..36824c3 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -910,7 +910,6 @@ sub startup {
uid => $uid,
db => $db,
train => $train,
- route => [ $self->iris->route_diff($train) ]
);
$has_arrived