summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-08-13 19:21:29 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-08-13 19:21:29 +0200
commit0480e138969f065034bcebc8be4f6759cd9f74f8 (patch)
tree6116ebb14307bee80e3de667687ba3d084afb747 /lib/DBInfoscreen/Controller/Stationboard.pm
parentf3c5f1bc047a852e59cc5ca0a6df3c30adac3616 (diff)
fix carriages order in formation preview4.29.7
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 2 insertions, 0 deletions
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;