Fixed late hooking

This commit is contained in:
acidicoala
2025-09-21 21:48:24 +05:00
parent 50b7792375
commit c5f8a37702
6 changed files with 26 additions and 23 deletions

View File

@@ -218,7 +218,7 @@ namespace steam_interfaces {
// Map virtual hook map to a set of keys
const auto prefixes = std::views::keys(virtual_hook_map) | std::ranges::to<std::set>();
const auto CreateInterface$ = KB_MOD_GET_FUNC(steamclient_handle, CreateInterface);
const auto CreateInterface$ = KB_LIB_GET_FUNC(steamclient_handle, CreateInterface);
DECLARE_ARGS();
THIS = CreateInterface$(steam_client_interface_version.c_str(), nullptr);