From d375fe10fbe9d40593809d1f0f4cbc08df6835d3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 26 Dec 2020 17:14:37 +0100 Subject: wagon view: fix exit direction display --- lib/DBInfoscreen/Controller/Wagenreihung.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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 { -- cgit v1.2.3