From bc6a59d43ebaee8c29c46f0d11088e7710304fee Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 May 2019 10:52:30 +0200 Subject: Do not show origin station in destination list --- lib/Travelynx.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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} -- cgit v1.2.3