aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2021-12-27 19:56:08 +0300
committerHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2021-12-27 19:56:08 +0300
commit1cb1d1e19804d1b7b52c8b2bd21f10dde4bf6bf8 (patch)
treed38f1cc4c42990350ac6ec9ea765191f07e2a47e /NorthstarDedicatedTest/dllmain.cpp
parentbf41a73a0a9d3c5c26086559570a9d6502f137c3 (diff)
downloadNorthstarLauncher-1cb1d1e19804d1b7b52c8b2bd21f10dde4bf6bf8.tar.gz
NorthstarLauncher-1cb1d1e19804d1b7b52c8b2bd21f10dde4bf6bf8.zip
remove hook preload as it's not crossplatform
use a universal solution instead
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 1eafef7f..6f57d265 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -121,8 +121,8 @@ void InitialiseNorthstar()
// maxplayers increase
AddDllLoadCallback("engine.dll", InitialiseMaxPlayersOverride_Engine);
- AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client, true);
- AddDllLoadCallback("server.dll", InitialiseMaxPlayersOverride_Server, true);
+ AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client);
+ AddDllLoadCallback("server.dll", InitialiseMaxPlayersOverride_Server);
// mod manager after everything else
AddDllLoadCallback("engine.dll", InitialiseModManager);