Default to the React map the default.

https://github.com/dcs-liberation/dcs_liberation/issues/2039
This commit is contained in:
Dan Albert 2022-03-06 02:02:25 -08:00
parent 904602510d
commit 4053356e13

View File

@ -185,13 +185,14 @@ def parse_args() -> argparse.Namespace:
parser.add_argument( parser.add_argument(
"--new-map", "--new-map",
action="store_true", action="store_true",
help="Use the React based map. Not yet fully functional.", default=True,
help="Use the React based map. This is the default.",
) )
parser.add_argument( parser.add_argument(
"--old-map", "--old-map",
dest="new_map", dest="new_map",
action="store_false", action="store_false",
help="Use the legacy map. This is the default.", help="Use the legacy map. This will be removed before 6.0.0 is released.",
) )
new_game = subparsers.add_parser("new-game") new_game = subparsers.add_parser("new-game")