Do not show origin station in destination list

This commit is contained in:
Daniel Friesel 2019-05-03 10:52:30 +02:00
parent 973cccd494
commit bc6a59d43e

View file

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