summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index d8f5b87..9285a82 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -68,8 +68,8 @@ sub startup {
scalar read_file('share/ice_type.json') );
my $ret;
while ( my ( $k, $v ) = each %{$ice_type_map} ) {
- if ( $v->{short} ) {
- $ret->{$k} = $v->{short};
+ if ( $v->{type} ) {
+ $ret->{$k} = [ $v->{type}, $v->{short} ];
}
}
return $ret;