mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Handle corrupted preferences file
Partial fix dcs-liberation/dcs_liberation#2747 Includes pydcs bump since it contains the other half of the fix.
This commit is contained in:
@@ -36,7 +36,7 @@ def init():
|
||||
"ignore_empty_install_directory", False
|
||||
)
|
||||
is_first_start = False
|
||||
except KeyError:
|
||||
except (KeyError, json.JSONDecodeError):
|
||||
__dcs_saved_game_directory = ""
|
||||
__dcs_installation_directory = ""
|
||||
__last_save_file = ""
|
||||
|
||||
Reference in New Issue
Block a user