From 36088a380e345fd60d2b6f66f62521fd3f98141a Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 24 Aug 2022 23:53:45 +0100 Subject: Rename `IsDedicated()` to `IsDedicatedServer()` (#252) --- NorthstarDLL/hooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NorthstarDLL/hooks.cpp') 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; -- cgit v1.2.3