From 8785ae568c82680791b391d32d322016c40b3311 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 7 Mar 2021 19:03:24 -0500 Subject: [PATCH] Allow "hidden" achievement property to be an int in the json config. --- dll/steam_user_stats.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dll/steam_user_stats.h b/dll/steam_user_stats.h index ddfb14ea..7de7923c 100644 --- a/dll/steam_user_stats.h +++ b/dll/steam_user_stats.h @@ -103,6 +103,10 @@ Steam_User_Stats(Settings *settings, Local_Storage *local_storage, class SteamCa user_achievements[name]["earned_time"] = static_cast(0); } } catch (...) {} + + try { + it["hidden"] = std::to_string(it["hidden"].get()); + } catch (...) {} } }