Do not initialize settings storage for editor

depth-refraction
elsid 2 years ago
parent c39083ba7e
commit 8f84431840
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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…
Cancel
Save