[AntiCheat] Disable process protection for dedis
This commit is contained in:
parent
1b4393f095
commit
e3fc5231a6
@ -357,7 +357,7 @@ namespace Components
|
||||
unsigned long AntiCheat::ProtectProcess()
|
||||
{
|
||||
#ifdef PROCTECT_PROCESS
|
||||
|
||||
if (Dedicated::IsEnabled()) return 0;
|
||||
Utils::Memory::Allocator allocator;
|
||||
|
||||
HANDLE hToken = nullptr;
|
||||
|
@ -59,11 +59,13 @@ namespace Components
|
||||
|
||||
void Renderer::Once(Utils::Slot<Renderer::Callback> callback)
|
||||
{
|
||||
if (Dedicated::IsEnabled()) return;
|
||||
Renderer::FrameOnceSignal.connect(callback);
|
||||
}
|
||||
|
||||
void Renderer::OnFrame(Utils::Slot<Renderer::Callback> callback)
|
||||
{
|
||||
if (Dedicated::IsEnabled()) return;
|
||||
Renderer::FrameSignal.connect(callback);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user