aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/hooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/hooks.cpp')
-rw-r--r--NorthstarDLL/hooks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/hooks.cpp b/NorthstarDLL/hooks.cpp
index 64099f48..7f1d3b84 100644
--- a/NorthstarDLL/hooks.cpp
+++ b/NorthstarDLL/hooks.cpp
@@ -134,7 +134,7 @@ void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback)
void AddDllLoadCallbackForDedicatedServer(std::string dll, DllLoadCallbackFuncType callback)
{
- if (!IsDedicated())
+ if (!IsDedicatedServer())
return;
DllLoadCallback* callbackStruct = new DllLoadCallback;
@@ -147,7 +147,7 @@ void AddDllLoadCallbackForDedicatedServer(std::string dll, DllLoadCallbackFuncTy
void AddDllLoadCallbackForClient(std::string dll, DllLoadCallbackFuncType callback)
{
- if (IsDedicated())
+ if (IsDedicatedServer())
return;
DllLoadCallback* callbackStruct = new DllLoadCallback;