From 0480e138969f065034bcebc8be4f6759cd9f74f8 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 13 Aug 2024 19:21:29 +0200 Subject: fix carriages order in formation preview --- lib/DBInfoscreen/Controller/Stationboard.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 8fc36c1..caa2ef0 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -929,6 +929,8 @@ sub render_train { } elsif ( $platform_info->{direction} ) { $departure->{wr_direction} = 'a' . $platform_info->{direction}; + $departure->{wr_direction_num} + = $platform_info->{direction} eq 'l' ? 0 : 100; } return; -- cgit v1.2.3