Fixed store mode

master v2.0.5
acidicoala 1 year ago
parent 9af76de3d2
commit 4b337a981e
No known key found for this signature in database
GPG Key ID: D24C6065B49C645B

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

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

Loading…
Cancel
Save