summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-21 19:11:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-21 19:11:52 +0100
commitf9d1ea47ff7a444f4468aa4fbfade1120d500066 (patch)
tree661a76f6af08c97a7b8a23d7391b908064a2287f /lib/DBInfoscreen.pm
parent1a6c3ad4ee00a22c684a4142784fc5e2d1a2bc26 (diff)
keep detailed mode when following links; show train attributes in detailed mode3.8.1
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index aea71a9..54078ea 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -106,9 +106,10 @@ sub startup {
my $ret;
while ( my ( $k, $v ) = each %{ $ice_type_map->{train} } ) {
if ( $v->{type} ) {
- $ret->{$k}
- = [ $v->{type}, $v->{short},
- exists $v->{wagons} ? 1 : 0 ];
+ $ret->{$k} = [
+ $v->{type}, $v->{shortType},
+ exists $v->{wagons} ? 1 : 0
+ ];
}
}
return $ret;