diff options
author | Yorhel <git@yorhel.nl> | 2019-09-11 16:11:32 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-11 16:11:32 +0200 |
commit | 500d19bd7c5c2c3e6a73b8b5ae0aa5ab39182df7 (patch) | |
tree | 6e3b345e46cfb92748d0061a62f7ee61889e7836 /util/jsgen.pl | |
parent | 7eca65c37be71d9c677cc99153e0df75902ed8cb (diff) |
VNDB::Types: Convert platforms into %PLATFORM
Diffstat (limited to 'util/jsgen.pl')
-rwxr-xr-x | util/jsgen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl index b8332829..3fb58b06 100755 --- a/util/jsgen.pl +++ b/util/jsgen.pl @@ -40,7 +40,7 @@ sub vars { cookie_prefix => $O{cookie_prefix}, age_ratings => [ map [ $_, $_ == -1 ? 'Unknown' : $_ == 0 ? 'All ages' : "$_+" ], @{$S{age_ratings}} ], languages => [ map [ $_, $LANGUAGE{$_} ], keys %LANGUAGE ], - platforms => [ map [ $_, $S{platforms}{$_} ], keys %{$S{platforms}} ], + platforms => [ map [ $_, $PLATFORM{$_} ], keys %PLATFORM ], char_roles => [ map [ $_, $S{char_roles}{$_}[0] ], keys %{$S{char_roles}} ], media => [ map [ $_, $S{media}{$_}[1], $S{media}{$_}[0] ], keys %{$S{media}} ], release_types => [ map [ $_, ucfirst $_ ], @{$S{release_types}} ], |