From 010025cbfaff572c2a7d766f4dd6f619dda754a4 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 25 Dec 2024 16:21:38 +0100 Subject: [PATCH] fix: Wrong localStorage key for achievements --- lib/libimhex/source/api/achievement_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/api/achievement_manager.cpp b/lib/libimhex/source/api/achievement_manager.cpp index f6d7b3045..4dec3cd35 100644 --- a/lib/libimhex/source/api/achievement_manager.cpp +++ b/lib/libimhex/source/api/achievement_manager.cpp @@ -270,7 +270,7 @@ namespace hex { #if defined(OS_WEB) auto data = json.dump(); MAIN_THREAD_EM_ASM({ - localStorage.setItem("config", UTF8ToString($0)); + localStorage.setItem("achievements", UTF8ToString($0)); }, data.c_str()); #else for (const auto &directory : paths::Config.write()) {