aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/hooks.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
commit93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d (patch)
treeee87733a5689f50a9066bf5e5979e8829547b476 /NorthstarDedicatedTest/hooks.cpp
parent3f515e00d19d969fa6697a60a32e9204a05a97ee (diff)
downloadNorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.tar.gz
NorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.zip
remove unnecessary header files
Diffstat (limited to 'NorthstarDedicatedTest/hooks.cpp')
-rw-r--r--NorthstarDedicatedTest/hooks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/hooks.cpp b/NorthstarDedicatedTest/hooks.cpp
index 82485e0e..32e4530c 100644
--- a/NorthstarDedicatedTest/hooks.cpp
+++ b/NorthstarDedicatedTest/hooks.cpp
@@ -139,7 +139,7 @@ void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback, std::
void AddDllLoadCallbackForDedicatedServer(
std::string dll, DllLoadCallbackFuncType callback, std::string tag, std::string reliesOn)
{
- if (!IsDedicated())
+ if (!IsDedicatedServer())
return;
AddDllLoadCallback(dll, callback, tag, reliesOn);
@@ -147,7 +147,7 @@ void AddDllLoadCallbackForDedicatedServer(
void AddDllLoadCallbackForClient(std::string dll, DllLoadCallbackFuncType callback, std::string tag, std::string reliesOn)
{
- if (IsDedicated())
+ if (IsDedicatedServer())
return;
AddDllLoadCallback(dll, callback, tag, reliesOn);