diff --git a/SpyCustom/dllmain.cpp b/SpyCustom/dllmain.cpp index 09b8a60..5b750e4 100644 --- a/SpyCustom/dllmain.cpp +++ b/SpyCustom/dllmain.cpp @@ -381,8 +381,10 @@ DWORD WINAPI HackThread(HMODULE hModule) VGUISurfHook->RestoreOldTable(); ClientModeHook->RestoreOldTable(); FileSystemHook->RestoreOldTable(); - if (opt.netchannedlhooked) + if (opt.netchannedlhooked) { DetourRemove(reinterpret_cast(oShutdown), reinterpret_cast(hkShutdown)); + DetourRemove(reinterpret_cast(oSendNetMsg), reinterpret_cast(hkSendNetMsg)); + } DetourRemove(reinterpret_cast(oGetAccountData), reinterpret_cast(hkGetAccountData)); DetourRemove(reinterpret_cast(oParticleCollectionSimulate), reinterpret_cast(hkParticleCollectionSimulate));