diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-08-24 23:53:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 00:53:45 +0200 |
commit | c3d20c8409a35772e371129d015913b7f08743fc (patch) | |
tree | 5037b60a89ca3eebb99311a38c1f6dbcdf267d1e /NorthstarDLL/hooks.cpp | |
parent | cf9743e9b874b76e56a57d56e60e03aaa8a52ad6 (diff) | |
download | NorthstarLauncher-c3d20c8409a35772e371129d015913b7f08743fc.tar.gz NorthstarLauncher-c3d20c8409a35772e371129d015913b7f08743fc.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; |