[AntiCheat] Fix process protection
This commit is contained in:
parent
53af2af8b7
commit
98642a9a59
@ -68,7 +68,7 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*l
|
|||||||
// Ensure we're working with our desired binary
|
// Ensure we're working with our desired binary
|
||||||
if (Utils::Hook::Get<DWORD>(0x4C0FFF) != 0x6824748B) return FALSE;
|
if (Utils::Hook::Get<DWORD>(0x4C0FFF) != 0x6824748B) return FALSE;
|
||||||
|
|
||||||
#ifndef DISABLE_ANTICHEAT
|
#if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT)
|
||||||
[]()
|
[]()
|
||||||
{
|
{
|
||||||
Components::AntiCheat::ProtectProcess();
|
Components::AntiCheat::ProtectProcess();
|
||||||
|
Loading…
Reference in New Issue
Block a user