Fixed store mode

This commit is contained in:
acidicoala
2023-03-14 15:11:07 +04:00
parent 9af76de3d2
commit 4b337a981e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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<uintptr_t>(interface));
#endif