1
0
mirror of synced 2025-01-11 05:42:15 +01:00

fix: Wrong localStorage key for achievements

This commit is contained in:
WerWolv 2024-12-25 16:21:38 +01:00
parent 61cae0a9f8
commit 010025cbfa

View File

@ -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()) {