Add Suppress Spoiler
This commit is contained in:
9
Utils.py
9
Utils.py
@@ -251,6 +251,15 @@ def print_wiki_doors_by_region(d_regions, world, player):
|
||||
def update_deprecated_args(args):
|
||||
argVars = vars(args)
|
||||
truthy = [ 1, True, "True", "true" ]
|
||||
# Don't do: Yes
|
||||
# Do: No
|
||||
if "suppress_spoiler" in argVars:
|
||||
args.create_spoiler = args.suppress_spoiler not in truthy
|
||||
# Don't do: No
|
||||
# Do: Yes
|
||||
if "create_spoiler" in argVars:
|
||||
args.suppress_spoiler = not args.create_spoiler in truthy
|
||||
|
||||
# Don't do: Yes
|
||||
# Do: No
|
||||
if "suppress_rom" in argVars:
|
||||
|
||||
Reference in New Issue
Block a user