diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 2cf1f5874ebe6c97b8cb0e5f4a48141892624d77..a9e39bdd047223c88e363ff6d0497407db2925fe 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}