aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-03 16:56:35 +0000
committerGitHub <noreply@github.com>2022-01-03 16:56:35 +0000
commit7d954b995971389716ce6e25a1c202ccd4235eb3 (patch)
tree22ca5d2b7fbaef7b7f90b048f313da9edf92563e /NorthstarDedicatedTest/dllmain.cpp
parent14159aef345e6ce96f77a603c5d89e92128c7f5a (diff)
parentf3ffed0742d62adf48c37dca0acfad621724c21b (diff)
downloadNorthstarLauncher-7d954b995971389716ce6e25a1c202ccd4235eb3.tar.gz
NorthstarLauncher-7d954b995971389716ce6e25a1c202ccd4235eb3.zip
Merge pull request #17 from HappyDOGE/main
Maxplayers increase + various QoL fixes and implementations
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 845749eb..83e78f4e 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -28,6 +28,7 @@
#include "rpakfilesystem.h"
#include "bansystem.h"
#include "memalloc.h"
+#include "maxplayers.h"
#include "languagehooks.h"
bool initialised = false;
@@ -128,6 +129,11 @@ bool InitialiseNorthstar()
AddDllLoadCallback("engine.dll", InitialiseEngineRpakFilesystem);
AddDllLoadCallback("engine.dll", InitialiseKeyValues);
+ // maxplayers increase
+ AddDllLoadCallback("engine.dll", InitialiseMaxPlayersOverride_Engine);
+ AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client);
+ AddDllLoadCallback("server.dll", InitialiseMaxPlayersOverride_Server);
+
// mod manager after everything else
AddDllLoadCallback("engine.dll", InitialiseModManager);