1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Do not initialize settings storage for editor

This commit is contained in:
elsid 2023-04-10 21:29:56 +02:00
parent c39083ba7e
commit 8f84431840
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -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))