mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Adjust preferences path for Retribution
This commit is contained in:
parent
02b7cd7fb3
commit
3be5e45374
@ -13,9 +13,9 @@ global __dcs_installation_directory
|
||||
global __last_save_file
|
||||
|
||||
|
||||
USER_PATH = Path(os.environ["LOCALAPPDATA"]) / "DCSLiberation"
|
||||
USER_PATH = Path(os.environ["LOCALAPPDATA"]) / "DCSRetribution"
|
||||
|
||||
PREFERENCES_PATH = USER_PATH / "liberation_preferences.json"
|
||||
PREFERENCES_PATH = USER_PATH / "retribution_preferences.json"
|
||||
|
||||
|
||||
def init():
|
||||
@ -26,7 +26,7 @@ def init():
|
||||
|
||||
if PREFERENCES_PATH.exists():
|
||||
try:
|
||||
logging.debug("Loading Liberation preferences from %s", PREFERENCES_PATH)
|
||||
logging.debug("Loading Retribution preferences from %s", PREFERENCES_PATH)
|
||||
with PREFERENCES_PATH.open() as prefs:
|
||||
pref_data = json.load(prefs)
|
||||
__dcs_saved_game_directory = pref_data["saved_game_dir"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user