diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 17:14:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 17:14:37 +0100 |
commit | d375fe10fbe9d40593809d1f0f4cbc08df6835d3 (patch) | |
tree | c7e35229b0760de106220734fe69659649c60520 | |
parent | 6c83c9e5ef251847f9e57401dd0f13bfe068b6e4 (diff) |
wagon view: fix exit direction display
-rw-r--r-- | lib/DBInfoscreen/Controller/Wagenreihung.pm | 8 |
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 { |