From 02ef03b3f24fc09e58ed28aee16d2bfb8d7fb83b Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Sun, 20 Oct 2019 12:01:50 +0200 Subject: [PATCH] Fix my_master build --- dll/steam_user_stats.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/steam_user_stats.cpp b/dll/steam_user_stats.cpp index 217331a..5aaf610 100644 --- a/dll/steam_user_stats.cpp +++ b/dll/steam_user_stats.cpp @@ -31,6 +31,7 @@ unsigned int Steam_User_Stats::find_leaderboard(std::string name) void Steam_User_Stats::load_achievements_db() { + std::string file_path = Local_Storage::get_game_settings_path() + achievements_user_file; local_storage->load_json(file_path, defined_achievements); } @@ -39,7 +40,7 @@ void Steam_User_Stats::load_achievements() local_storage->load_json_file("", achievements_user_file, user_achievements); } -void save_achievements() +void Steam_User_Stats::save_achievements() { local_storage->write_json_file("", achievements_user_file, user_achievements); }