summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-26 17:14:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-26 17:14:37 +0100
commitd375fe10fbe9d40593809d1f0f4cbc08df6835d3 (patch)
treec7e35229b0760de106220734fe69659649c60520 /lib/DBInfoscreen
parent6c83c9e5ef251847f9e57401dd0f13bfe068b6e4 (diff)
wagon view: fix exit direction display
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Wagenreihung.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/DBInfoscreen/Controller/Wagenreihung.pm b/lib/DBInfoscreen/Controller/Wagenreihung.pm
index 9567913..c57b1c9 100644
--- a/lib/DBInfoscreen/Controller/Wagenreihung.pm
+++ b/lib/DBInfoscreen/Controller/Wagenreihung.pm
@@ -230,16 +230,16 @@ sub wagen {
if ( defined $wref->{d} and $wref->{e} ) {
if ( $wref->{d} == 0 and $wref->{e} eq 'l' ) {
- $wref->{e} = 'u';
+ $wref->{e} = 'd';
}
elsif ( $wref->{d} == 0 and $wref->{e} eq 'r' ) {
- $wref->{e} = 'd';
+ $wref->{e} = 'u';
}
elsif ( $wref->{d} == 100 and $wref->{e} eq 'l' ) {
- $wref->{e} = 'd';
+ $wref->{e} = 'u';
}
elsif ( $wref->{d} == 100 and $wref->{e} eq 'r' ) {
- $wref->{e} = 'u';
+ $wref->{e} = 'd';
}
}
else {