summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-01 10:51:58 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-01 10:51:58 +0200
commitfd43d818f92852f53bffad432a7ff1cca6e6f137 (patch)
tree266b1beb8f3277314f187a1d4a9485c8c1c8f874
parentcbc433f76c13c1eaa2ed5f7b4dddc51e421153ec (diff)
increase level of caution
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index a665758..0a035b0 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -331,9 +331,8 @@ sub get_connecting_trains_p {
if ( $hafas_train->{iris_seen} ) {
next;
}
- if ( $iris_eva != $eva
- and $hafas_train->station_eva == $iris_eva )
- {
+ if ( $hafas_train->station_eva >= 8000000 ) {
+
# better safe than sorry, for now
next;
}