diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-08-24 23:53:45 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-14 12:53:15 +0200 |
commit | 36088a380e345fd60d2b6f66f62521fd3f98141a (patch) | |
tree | 5c47a0406b6d67bf289a7794f19a9fe546fce6ab /NorthstarDLL/hooks.cpp | |
parent | c120d0cceba005f661e66d4d95c96d0458cadfeb (diff) | |
download | NorthstarLauncher-36088a380e345fd60d2b6f66f62521fd3f98141a.tar.gz NorthstarLauncher-36088a380e345fd60d2b6f66f62521fd3f98141a.zip |
Rename `IsDedicated()` to `IsDedicatedServer()` (#252)
Diffstat (limited to 'NorthstarDLL/hooks.cpp')
-rw-r--r-- | NorthstarDLL/hooks.cpp | 4 |
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; |