Fixed un-flags for new OWR options
This commit is contained in:
20
Utils.py
20
Utils.py
@@ -373,6 +373,26 @@ def update_deprecated_args(args):
|
|||||||
else:
|
else:
|
||||||
args.shuffleganon = not args.no_shuffleganon in truthy
|
args.shuffleganon = not args.no_shuffleganon in truthy
|
||||||
|
|
||||||
|
# OW Parallel defaults to TRUE
|
||||||
|
# Don't do: Yes
|
||||||
|
# Do: No
|
||||||
|
if "ow_unparallel" in argVars:
|
||||||
|
if isinstance(args.ow_parallel, dict):
|
||||||
|
for player in range(1, players + 1):
|
||||||
|
args.ow_parallel[player] = not args.ow_unparallel in truthy
|
||||||
|
else:
|
||||||
|
args.ow_parallel = not args.ow_unparallel in truthy
|
||||||
|
|
||||||
|
# OW Fog defaults to TRUE
|
||||||
|
# Don't do: Yes
|
||||||
|
# Do: No
|
||||||
|
if "ow_no_fog" in argVars:
|
||||||
|
if isinstance(args.ow_fog, dict):
|
||||||
|
for player in range(1, players + 1):
|
||||||
|
args.ow_fog[player] = not args.ow_no_fog in truthy
|
||||||
|
else:
|
||||||
|
args.ow_fog = not args.ow_no_fog in truthy
|
||||||
|
|
||||||
# Playthrough defaults to TRUE
|
# Playthrough defaults to TRUE
|
||||||
# Don't do: Yes
|
# Don't do: Yes
|
||||||
# Do: No
|
# Do: No
|
||||||
|
|||||||
@@ -187,7 +187,7 @@
|
|||||||
},
|
},
|
||||||
"ow_unparallel": {
|
"ow_unparallel": {
|
||||||
"action": "store_true",
|
"action": "store_true",
|
||||||
"type": "bool"
|
"dest": "ow_parallel"
|
||||||
},
|
},
|
||||||
"ow_terrain": {
|
"ow_terrain": {
|
||||||
"action": "store_true",
|
"action": "store_true",
|
||||||
@@ -231,7 +231,7 @@
|
|||||||
},
|
},
|
||||||
"ow_no_fog": {
|
"ow_no_fog": {
|
||||||
"action": "store_true",
|
"action": "store_true",
|
||||||
"type": "bool"
|
"dest": "ow_fog"
|
||||||
},
|
},
|
||||||
"shuffle": {
|
"shuffle": {
|
||||||
"choices": [
|
"choices": [
|
||||||
|
|||||||
Reference in New Issue
Block a user