mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Do not initialize settings storage for editor
This commit is contained in:
parent
c39083ba7e
commit
8f84431840
@ -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 New Issue
Block a user