diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-06-12 17:30:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-06-12 17:33:16 +0200 |
commit | 08abde269b56b066f9637e764ea1550d81ce6a1d (patch) | |
tree | 33276116eaea9a2a8903af6090acfcc4d357f6c5 | |
parent | 9221ddce85fadf1ae98530b524ae81ab726d133e (diff) |
user_status: Use first available dep_info
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index a9fd043..04056b8 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1754,7 +1754,7 @@ sub startup { and $station->[0] eq $in_transit->{dep_name} ) { $is_after = 1; - if ( @{$station} > 1 ) { + if ( @{$station} > 1 and not $dep_info ) { $dep_info = $station->[1]; } } |