mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
Do not initialize settings storage for editor
This commit is contained in:
parent
c39083ba7e
commit
8f84431840
@ -147,7 +147,8 @@ namespace Settings
|
|||||||
if (std::filesystem::exists(settingspath))
|
if (std::filesystem::exists(settingspath))
|
||||||
parser.loadSettingsFile(settingspath, mUserSettings, false, false);
|
parser.loadSettingsFile(settingspath, mUserSettings, false, false);
|
||||||
|
|
||||||
Settings::Values::init();
|
if (!loadEditorSettings)
|
||||||
|
Settings::Values::init();
|
||||||
|
|
||||||
for (const auto& [key, value] : originalDefaultSettings)
|
for (const auto& [key, value] : originalDefaultSettings)
|
||||||
if (!sInitialized.contains(key))
|
if (!sInitialized.contains(key))
|
||||||
|
Loading…
Reference in New Issue
Block a user