From cd4e1246ca33b7f0056be36a640bc2a7340a6667 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Jan 2020 18:28:53 +0100 Subject: show planned IC/ICE type in detail view --- lib/DBInfoscreen.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/DBInfoscreen.pm') 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; -- cgit v1.2.3