From d076d12c6e698bcf1fbc8acced56a1d4197a987c Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 31 Jul 2022 15:42:33 -0400 Subject: [PATCH] Fix achievement gen script. --- scripts/stats_schema_achievement_gen/achievements_gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/stats_schema_achievement_gen/achievements_gen.py b/scripts/stats_schema_achievement_gen/achievements_gen.py index a6c5c65..5d34108 100644 --- a/scripts/stats_schema_achievement_gen/achievements_gen.py +++ b/scripts/stats_schema_achievement_gen/achievements_gen.py @@ -57,6 +57,8 @@ def generate_stats_achievements(schema, config_directory): out['type'] = 'avgrate' if 'Default' in stat: out['default'] = stat['Default'] + elif 'default' in stat: + out['default'] = stat['default'] stats_out += [out] # print(stat_info[s])