spamram for fa18; non-randomized groups vertical separation on spawn; argument to affect DCS folder selection

This commit is contained in:
Vasyl Horbachenko
2018-08-04 04:35:27 +03:00
parent 74c1861240
commit f9c1dd980b
7 changed files with 38 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ import logging
import typing
import pickle
import os
import sys
import shutil
_user_folder = None # type: str
@@ -17,7 +18,7 @@ def base_path() -> str:
assert _user_folder
openbeta_path = os.path.join(_user_folder, "Saved Games", "DCS.openbeta")
if os.path.exists(openbeta_path):
if "--force-stable-DCS" not in sys.argv and os.path.exists(openbeta_path):
return openbeta_path
else:
return os.path.join(_user_folder, "Saved Games", "DCS")