summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}