mirror of
https://github.com/derf/travelynx
synced 2024-12-02 17:29:11 +00:00
user_status: Use first available dep_info
This commit is contained in:
parent
9221ddce85
commit
08abde269b
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue