summaryrefslogtreecommitdiff
path: root/util/jsgen.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/jsgen.pl')
-rwxr-xr-xutil/jsgen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl
index 04b4780a..5cf946fa 100755
--- a/util/jsgen.pl
+++ b/util/jsgen.pl
@@ -44,8 +44,8 @@ sub vars {
char_roles => [ map [ $_, $CHAR_ROLE{$_}{txt} ], keys %CHAR_ROLE ],
media => [ map [ $_, $S{media}{$_}[1], $S{media}{$_}[0] ], keys %{$S{media}} ],
release_types => [ map [ $_, ucfirst $_ ], @{$S{release_types}} ],
- animated => [ map [ $_, $S{animated}[$_] ], 0..$#{$S{animated}} ],
- voiced => [ map [ $_, $S{voiced}[$_] ], 0..$#{$S{voiced}} ],
+ animated => [ map [ $_, $ANIMATED{$_}{txt} ], keys %ANIMATED ],
+ voiced => [ map [ $_, $VOICED{$_}{txt} ], keys %VOICED ],
vn_lengths => [ map [ $_, $VN_LENGTH{$_}{txt} ], keys %VN_LENGTH ],
blood_types => [ map [ $_, $BLOOD_TYPE{$_} ], keys %BLOOD_TYPE ],
genders => [ map [ $_, $GENDER{$_} ], keys %GENDER ],