Do not show origin station in destination list
This commit is contained in:
parent
973cccd494
commit
bc6a59d43e
1 changed files with 3 additions and 3 deletions
|
@ -1473,12 +1473,12 @@ sub startup {
|
||||||
my $is_after = 0;
|
my $is_after = 0;
|
||||||
for my $station (@route) {
|
for my $station (@route) {
|
||||||
|
|
||||||
if ( $station eq $in_transit->{dep_name} ) {
|
|
||||||
$is_after = 1;
|
|
||||||
}
|
|
||||||
if ($is_after) {
|
if ($is_after) {
|
||||||
push( @route_after, $station );
|
push( @route_after, $station );
|
||||||
}
|
}
|
||||||
|
if ( $station eq $in_transit->{dep_name} ) {
|
||||||
|
$is_after = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my $ts = $in_transit->{checkout_ts}
|
my $ts = $in_transit->{checkout_ts}
|
||||||
|
|
Loading…
Reference in a new issue