summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-01-07 18:28:53 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-01-07 18:28:53 +0100
commitcd4e1246ca33b7f0056be36a640bc2a7340a6667 (patch)
tree827bd80c38fa84974413a1c7100e79673f4b2bdd /lib/DBInfoscreen.pm
parent27bb2b67af84529cd5ee7a61e77008614d868c34 (diff)
show planned IC/ICE type in detail view
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;