aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/securitypatches.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/securitypatches.cpp')
-rw-r--r--NorthstarDedicatedTest/securitypatches.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/securitypatches.cpp b/NorthstarDedicatedTest/securitypatches.cpp
index 23c96520..f13d778e 100644
--- a/NorthstarDedicatedTest/securitypatches.cpp
+++ b/NorthstarDedicatedTest/securitypatches.cpp
@@ -2,6 +2,7 @@
#include "securitypatches.h"
#include "hookutils.h"
#include "concommand.h"
+#include "dedicated.h"
typedef bool(*IsValveModType)();
IsValveModType IsValveMod;
@@ -18,6 +19,9 @@ bool IsValveModHook()
void InitialiseClientEngineSecurityPatches(HMODULE baseAddress)
{
+ if (IsDedicated())
+ return;
+
HookEnabler hook;
// note: this could break some things