diff --git a/loader/src/loader/ModSettingsManager.cpp b/loader/src/loader/ModSettingsManager.cpp index 83e0face..4922c57d 100644 --- a/loader/src/loader/ModSettingsManager.cpp +++ b/loader/src/loader/ModSettingsManager.cpp @@ -110,6 +110,7 @@ public: void saveSettingValueToSave(std::string const& key) { if (this->settings.contains(key)) { auto& sett = this->settings.at(key); + if (!sett.v3) return; // Store the value in an intermediary so if `save` fails the existing // value loaded from disk isn't overwritten matjson::Value value;