mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-13 21:13:06 +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,6 +147,7 @@ namespace Settings
|
||||||
if (std::filesystem::exists(settingspath))
|
if (std::filesystem::exists(settingspath))
|
||||||
parser.loadSettingsFile(settingspath, mUserSettings, false, false);
|
parser.loadSettingsFile(settingspath, mUserSettings, false, false);
|
||||||
|
|
||||||
|
if (!loadEditorSettings)
|
||||||
Settings::Values::init();
|
Settings::Values::init();
|
||||||
|
|
||||||
for (const auto& [key, value] : originalDefaultSettings)
|
for (const auto& [key, value] : originalDefaultSettings)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue