summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
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;