summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-12 17:30:26 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-06-12 17:33:16 +0200
commit08abde269b56b066f9637e764ea1550d81ce6a1d (patch)
tree33276116eaea9a2a8903af6090acfcc4d357f6c5
parent9221ddce85fadf1ae98530b524ae81ab726d133e (diff)
user_status: Use first available dep_info
-rwxr-xr-xlib/Travelynx.pm2
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];
}
}