Fixed Shuffle Ganon CLI/Gui issue
This commit is contained in:
19
Utils.py
19
Utils.py
@@ -358,15 +358,20 @@ def update_deprecated_args(args):
|
|||||||
# Shuffle Ganon defaults to TRUE
|
# Shuffle Ganon defaults to TRUE
|
||||||
# Don't do: Yes
|
# Don't do: Yes
|
||||||
# Do: No
|
# Do: No
|
||||||
orig_shuffleganon = args.shuffleganon
|
if isinstance(args.shuffleganon, bool):
|
||||||
if isinstance(orig_shuffleganon, bool):
|
|
||||||
args.shuffleganon = {}
|
|
||||||
for player in range(1, players + 1):
|
|
||||||
args.shuffleganon[player] = orig_shuffleganon
|
|
||||||
for player in range(1, players + 1):
|
|
||||||
if "no_shuffleganon" in argVars:
|
if "no_shuffleganon" in argVars:
|
||||||
|
args.shuffleganon = not args.no_shuffleganon in truthy
|
||||||
|
else:
|
||||||
|
for player in range(1, players + 1):
|
||||||
args.shuffleganon[player] = not args.no_shuffleganon in truthy
|
args.shuffleganon[player] = not args.no_shuffleganon in truthy
|
||||||
|
|
||||||
|
if isinstance(args.no_shuffleganon, bool):
|
||||||
|
if "shuffleganon" in argVars:
|
||||||
|
args.no_shuffleganon = not args.shuffleganon in truthy
|
||||||
|
else:
|
||||||
|
for player in range(1, players + 1):
|
||||||
|
args.no_shuffleganon[player] = not args.shuffleganon in truthy
|
||||||
|
|
||||||
# Playthrough defaults to TRUE
|
# Playthrough defaults to TRUE
|
||||||
# Don't do: Yes
|
# Don't do: Yes
|
||||||
# Do: No
|
# Do: No
|
||||||
|
|||||||
Reference in New Issue
Block a user