summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-01 12:29:30 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-01 12:29:30 +0200
commitf0bbf6b8ab0b9ad5c8f8503792cdc807731280ab (patch)
tree4575b873cae5a8a0b1fc45d805511700328a127e /lib/DBInfoscreen
parentc3e12fffc9a14efc1a5a1e7ce9ad0fc865be582c (diff)
$departure->{direction} is also used by HAFAS, move wr to wr_direction
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 2aac171..4d8406e 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -856,11 +856,11 @@ sub render_train {
}
if ($direction) {
- $departure->{direction} = $direction;
- $departure->{direction_num} = $direction eq 'l' ? 0 : 100;
+ $departure->{wr_direction} = $direction;
+ $departure->{wr_direction_num} = $direction eq 'l' ? 0 : 100;
}
elsif ( $platform_info->{direction} ) {
- $departure->{direction} = 'a' . $platform_info->{direction};
+ $departure->{wr_direction} = 'a' . $platform_info->{direction};
}
return;