Fix Hints toggle on CLI

This commit is contained in:
Mike A. Trethewey
2020-04-07 02:17:25 -07:00
parent c9d6b87d94
commit 4c35b39e35
3 changed files with 78 additions and 41 deletions

11
CLI.py
View File

@@ -123,6 +123,7 @@ def parse_settings():
"accessibility": "items",
"algorithm": "balanced",
# Shuffle Ganon defaults to TRUE
"openpyramid": False,
"shuffleganon": True,
"shuffle": "vanilla",
@@ -146,7 +147,9 @@ def parse_settings():
"multi": 1,
"names": "",
# Hints default to TRUE
"hints": True,
"no_hints": False,
"disablemusic": False,
"quickswap": False,
"heartcolor": "red",
@@ -156,11 +159,11 @@ def parse_settings():
"ow_palettes": "default",
"uw_palettes": "default",
"suppress_spoiler": True,
# Spoiler defaults to FALSE
# Playthrough defaults to TRUE
# ROM defaults to TRUE
"create_spoiler": False,
"skip_playthrough": False,
"calc_playthrough": True,
"suppress_rom": False,
"create_rom": True,
"usestartinventory": False,
"custom": False,
@@ -310,9 +313,9 @@ def get_args_priority(settings_args, gui_args, cli_args):
else:
newArgs[key] = args[key]
newArgs[key] = update_deprecated_args(newArgs[key])
else:
newArgs[key] = args[key]
newArgs[key] = update_deprecated_args(newArgs[key])
args = newArgs