summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-03 10:52:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-03 10:52:30 +0200
commitbc6a59d43ebaee8c29c46f0d11088e7710304fee (patch)
treea5464d4c16b7c2adb848f845b6e3701ef743f5cb /lib
parent973cccd494eb6b50e283b461644ee73e0b304e59 (diff)
Do not show origin station in destination list1.1.3
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 2cf1f58..a9e39bd 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1473,12 +1473,12 @@ sub startup {
my $is_after = 0;
for my $station (@route) {
- if ( $station eq $in_transit->{dep_name} ) {
- $is_after = 1;
- }
if ($is_after) {
push( @route_after, $station );
}
+ if ( $station eq $in_transit->{dep_name} ) {
+ $is_after = 1;
+ }
}
my $ts = $in_transit->{checkout_ts}