From df0e8bc027add66c21cfdeef9a414c2a69f20cdc Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 22 Sep 2021 00:21:57 -0400 Subject: [PATCH] Remove aliased options from player-settings pages --- WebHostLib/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/options.py b/WebHostLib/options.py index 9010a015..f3c50ae3 100644 --- a/WebHostLib/options.py +++ b/WebHostLib/options.py @@ -55,7 +55,7 @@ def create(): "options": [] } - for sub_option_name, sub_option_id in option.options.items(): + for sub_option_id, sub_option_name in option.name_lookup.items(): this_option["options"].append({ "name": option.get_option_name(sub_option_id), "value": sub_option_name,