From ad71360dcdb725640940c909ae27ed926ccbfed8 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 31 Jan 2023 20:55:15 +0100 Subject: [PATCH] Don't register 'HSV_Main' on client dll --- r5dev/core/init.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r5dev/core/init.cpp b/r5dev/core/init.cpp index 56cc0f7a..9cce8240 100644 --- a/r5dev/core/init.cpp +++ b/r5dev/core/init.cpp @@ -513,9 +513,11 @@ void DetourRegister() // Register detour classes to be searched and hooked. REGISTER(VGL_Screen); #endif // !DEDICATED +#ifndef CLIENT_DLL // !!! SERVER DLL ONLY !!! REGISTER(HSV_Main); // !!! END SERVER DLL ONLY !!! +#endif // !CLIENT_DLL #ifndef DEDICATED REGISTER(VGame); // REGISTER CLIENT ONLY!