Merge pull request #12959 from SuperSamus/sysconf-dirty-fix

Config: Don't depend on `is_dirty` to save SYSCONF during restore
This commit is contained in:
JMC47 2024-08-05 11:42:56 -04:00 committed by GitHub
commit 68fe6779eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -209,8 +209,7 @@ static void RestoreSYSCONF()
}, },
setting.config_info); setting.config_info);
} }
// Save the SYSCONF. ConfigLoaders::SaveToSYSCONF(Config::LayerType::Base);
Config::GetLayer(Config::LayerType::Base)->Save();
} }
void RestoreConfig() void RestoreConfig()