From 98642a9a59aa769db1a8b5f1671330cf911f54b8 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 4 Jun 2017 12:21:57 +0200 Subject: [PATCH] [AntiCheat] Fix process protection --- src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cpp b/src/Main.cpp index 09e0fb2c..f0c535f2 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -68,7 +68,7 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*l // Ensure we're working with our desired binary if (Utils::Hook::Get(0x4C0FFF) != 0x6824748B) return FALSE; -#ifndef DISABLE_ANTICHEAT +#if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT) []() { Components::AntiCheat::ProtectProcess();