aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
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 78edb297..1eafef7f 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -26,6 +26,7 @@
#include "miscclientfixes.h"
#include "miscserverfixes.h"
#include "memalloc.h"
+#include "maxplayers.h"
bool initialised = false;
@@ -118,6 +119,11 @@ void InitialiseNorthstar()
AddDllLoadCallback("filesystem_stdio.dll", InitialiseFilesystem);
AddDllLoadCallback("engine.dll", InitialiseKeyValues);
+ // maxplayers increase
+ AddDllLoadCallback("engine.dll", InitialiseMaxPlayersOverride_Engine);
+ AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client, true);
+ AddDllLoadCallback("server.dll", InitialiseMaxPlayersOverride_Server, true);
+
// mod manager after everything else
AddDllLoadCallback("engine.dll", InitialiseModManager);
} \ No newline at end of file