From f74db254f6a91c2f71c4a43da31145624010f854 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 1 Sep 2021 09:18:43 -0700 Subject: [PATCH] fix typo in default value. --- Generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generate.py b/Generate.py index 3acd4742..927c9e0e 100644 --- a/Generate.py +++ b/Generate.py @@ -529,7 +529,7 @@ def roll_settings(weights: dict, plando_options: typing.Set[str] = frozenset(("b def roll_alttp_settings(ret: argparse.Namespace, weights, plando_options): - if "dungeon_items" in weights and get_choice_legacy('dungeon_items', weights, "non") != "none": + if "dungeon_items" in weights and get_choice_legacy('dungeon_items', weights, "none") != "none": raise Exception(f"dungeon_items key in A Link to the Past was removed, but is present in these weights as {get_choice_legacy('dungeon_items', weights, False)}.") glitches_required = get_choice_legacy('glitches_required', weights) if glitches_required not in [None, 'none', 'no_logic', 'overworld_glitches', 'hybrid_major_glitches', 'minor_glitches']: