user_status: Use first available dep_info

This commit is contained in:
Daniel Friesel 2021-06-12 17:30:26 +02:00
parent 9221ddce85
commit 08abde269b

View file

@ -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];
}
}