summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Wagenreihung.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen/Controller/Wagenreihung.pm')
-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 {