fix(save): correct openbeta detection

This commit is contained in:
Wrycu 2020-01-18 11:29:16 -08:00
parent 3de688da29
commit fcfa785ae9
No known key found for this signature in database
GPG Key ID: BDB10F9DDF6AF8D0

View File

@ -18,7 +18,6 @@ def base_path() -> str:
global _user_folder global _user_folder
assert _user_folder assert _user_folder
return installation.get_dcs_saved_games_directory()
openbeta_path = os.path.join(_user_folder, "DCS.openbeta") openbeta_path = os.path.join(_user_folder, "DCS.openbeta")
if "--force-stable-DCS" not in sys.argv and os.path.exists(openbeta_path): if "--force-stable-DCS" not in sys.argv and os.path.exists(openbeta_path):
return openbeta_path return openbeta_path