Skip to content

Commit 4d585d1

Browse files
committed
fix: Achievements re-triggering in cases where an achievement is triggered before its save is loaded
1 parent 2c7da65 commit 4d585d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/gui/source/init/run/common.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <hex/api/achievement_manager.hpp>
12
#include <hex/api/events/requests_interaction.hpp>
23
#include <hex/api/task_manager.hpp>
34
#include <hex/api/imhex_api/system.hpp>
@@ -46,6 +47,8 @@ namespace hex::init {
4647
ContentRegistry::Settings::impl::load();
4748
ContentRegistry::Settings::impl::store();
4849

50+
AchievementManager::loadProgress();
51+
4952
EventImHexStartupFinished::post();
5053

5154
TutorialManager::init();

0 commit comments

Comments
 (0)