diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-21 20:59:57 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-21 20:59:57 +0100 |
commit | 93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d (patch) | |
tree | ee87733a5689f50a9066bf5e5979e8829547b476 /NorthstarDedicatedTest/hooks.cpp | |
parent | 3f515e00d19d969fa6697a60a32e9204a05a97ee (diff) | |
download | NorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.tar.gz NorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.zip |
remove unnecessary header files
Diffstat (limited to 'NorthstarDedicatedTest/hooks.cpp')
-rw-r--r-- | NorthstarDedicatedTest/hooks.cpp | 4 |
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); |