From 0b134e98a94ea5385eb31bb6ce2a270ae6556370 Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Sun, 14 Jul 2019 22:24:56 +0200 Subject: [PATCH] Added debug message --- dll/steam_inventory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dll/steam_inventory.h b/dll/steam_inventory.h index 8326f51..23708c2 100644 --- a/dll/steam_inventory.h +++ b/dll/steam_inventory.h @@ -91,8 +91,10 @@ public: Steam_Inventory(class Settings *settings, class SteamCallResults *callback_results, class SteamCallBacks *callbacks) { + std::string items_db_file(Local_Storage::get_game_settings_path() + "items.json"); + PRINT_DEBUG("Items file path: %s\n", items_db_file.c_str()); items_loaded = false; - std::thread items_load_thread(read_items_db, Local_Storage::get_game_settings_path() + "items.json", &items, &items_loaded); + std::thread items_load_thread(read_items_db, items_db_file, &items, &items_loaded); items_load_thread.detach(); this->settings = settings;