impr: Harden achievement progress store function

This commit is contained in:
WerWolv
2023-12-27 16:57:44 +01:00
parent 874619f62e
commit 3c6f52f5ea
2 changed files with 5 additions and 2 deletions

View File

@@ -318,6 +318,7 @@ namespace hex::init {
bool storeSettings() {
try {
ContentRegistry::Settings::impl::store();
AchievementManager::storeProgress();
} catch (std::exception &e) {
log::error("Failed to store configuration! {}", e.what());
return false;