[AntiCheat] Fix process protection

This commit is contained in:
momo5502 2017-06-04 12:21:57 +02:00
parent 53af2af8b7
commit 98642a9a59

View File

@ -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<DWORD>(0x4C0FFF) != 0x6824748B) return FALSE;
#ifndef DISABLE_ANTICHEAT
#if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT)
[]()
{
Components::AntiCheat::ProtectProcess();