Allow hooking same interface address

This commit is contained in:
acidicoala
2023-03-12 20:47:38 +04:00
parent a54279e150
commit 167701aee1
2 changed files with 2 additions and 3 deletions

View File

@@ -145,8 +145,7 @@ namespace steam_impl {
static Set<void*> hooked_interfaces;
if (hooked_interfaces.contains(interface)) {
// This interface is already hooked. Skipping it.
return;
LOG_DEBUG("Interface {} at {} has already been hooked.", version_string, interface)
}
static Mutex section;