summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-05 17:42:42 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-05 17:42:42 +0100
commit503bdc30e4e2fe5dce9ba5c4b24250e31931d8b0 (patch)
tree9ab3365826f84bf39bb6e80a1c45c24de9fd7136
parent4a8844eebeecc61d26b0fd9b3f6dbdfe5d5f0be3 (diff)
render_train: do not duplicate $station_name entry4.20.1
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index a9fe7ca..667bafe 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -843,6 +843,9 @@ sub render_train {
shift( @{ $departure->{route_post_diff} } )
);
}
+
+ # remove entry for $station_name
+ shift( @{ $departure->{route_post_diff} } );
}
my @him_messages;