aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-25 00:45:40 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-25 00:45:40 +0100
commit7e1f1d8270dbdfbe2374e9da664cea2e00dfd465 (patch)
tree3d5fe484721c570d12bee33aa55b1b91f7b7df40 /NorthstarDedicatedTest/dllmain.cpp
parent48acde84bd58c82eaa3a9838757dfcd05ab4ebf5 (diff)
downloadNorthstarLauncher-7e1f1d8270dbdfbe2374e9da664cea2e00dfd465.tar.gz
NorthstarLauncher-7e1f1d8270dbdfbe2374e9da664cea2e00dfd465.zip
fixing some dedi crashes
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index bc1bfd77..2ecaf3db 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -74,6 +74,8 @@ void InitialiseNorthstar()
AddDllLoadCallback("engine.dll", InitialiseDedicated);
AddDllLoadCallback("launcher.dll", InitialiseDedicatedOrigin);
AddDllLoadCallback("materialsystem_dx11.dll", InitialiseDedicatedMaterialSystem);
+ // this fucking sucks, but seemingly we somehow load after rtech_game???? unsure how, but because of this we have to apply patches here, not on rtech_game load
+ AddDllLoadCallback("engine.dll", InitialiseDedicatedRtechGame);
}
AddDllLoadCallback("engine.dll", InitialiseConVars);