From 08bff1cf59adc3bd62f161a7deb773c9a1c4d436 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 2 Jun 2017 21:24:11 +0200 Subject: [PATCH] [AntiCheat] Remove virtualprotect hook --- src/Components/Modules/Localization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Localization.cpp b/src/Components/Modules/Localization.cpp index cad3ac32..24ca92ad 100644 --- a/src/Components/Modules/Localization.cpp +++ b/src/Components/Modules/Localization.cpp @@ -284,7 +284,7 @@ namespace Components }); #if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT) - AntiCheat::PatchVirtualProtect(VirtualProtect, VirtualProtectEx); + if(!Dedicated::IsEnabled()) AntiCheat::PatchVirtualProtect(VirtualProtect, VirtualProtectEx); #endif }