diff --git a/CMakeLists.txt b/CMakeLists.txt index da770b1..66f6477 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.24) -project(SmokeAPI VERSION 2.0.3) +project(SmokeAPI VERSION 2.0.5) include(KoalaBox/cmake/KoalaBox.cmake) diff --git a/src/steam_impl/steam_impl.cpp b/src/steam_impl/steam_impl.cpp index 5d654c2..9964646 100644 --- a/src/steam_impl/steam_impl.cpp +++ b/src/steam_impl/steam_impl.cpp @@ -195,7 +195,7 @@ namespace steam_impl { if (version_number >= 2) { HOOK_STEAM_INVENTORY(ISteamInventory_GetResultItemProperty) } - } else if (version_string.starts_with(CLIENT_ENGINE)) { + } else if (version_string.starts_with(CLIENT_ENGINE) && !hooked_interfaces.contains(interface)) { #if COMPILE_STORE_MODE store::steamclient::process_client_engine(reinterpret_cast(interface)); #endif