mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:15:38 +00:00
Do not initialize settings storage for editor
This commit is contained in:
parent
c39083ba7e
commit
8f84431840
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ namespace Settings
|
|||
if (std::filesystem::exists(settingspath))
|
||||
parser.loadSettingsFile(settingspath, mUserSettings, false, false);
|
||||
|
||||
Settings::Values::init();
|
||||
if (!loadEditorSettings)
|
||||
Settings::Values::init();
|
||||
|
||||
for (const auto& [key, value] : originalDefaultSettings)
|
||||
if (!sInitialized.contains(key))
|
||||
|
|
Loading…
Reference in a new issue