aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-11-03 20:19:06 +0000
committerGitHub <noreply@github.com>2022-11-03 21:19:06 +0100
commita0455d177a27f47f167ec0f5db487479969ae46d (patch)
tree38b376a993d3fc298604ffb4b3598ac0f2660b7e
parentc8181a1719fefc8b9d7ed52888f6a207fcdf026f (diff)
downloadNorthstarLauncher-a0455d177a27f47f167ec0f5db487479969ae46d.tar.gz
NorthstarLauncher-a0455d177a27f47f167ec0f5db487479969ae46d.zip
Fix `status` hooks (#316)
-rw-r--r--NorthstarDLL/dedicated.cpp2
-rw-r--r--NorthstarDLL/logging.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/dedicated.cpp b/NorthstarDLL/dedicated.cpp
index 7d9bc42a..7ba62d24 100644
--- a/NorthstarDLL/dedicated.cpp
+++ b/NorthstarDLL/dedicated.cpp
@@ -126,7 +126,7 @@ ON_DLL_LOAD_DEDI_RELIESON("engine.dll", DedicatedServer, ServerPresence, (CModul
{
spdlog::info("InitialiseDedicated");
- AUTOHOOK_DISPATCH_MODULE("engine.dll")
+ AUTOHOOK_DISPATCH_MODULE(engine.dll)
// Host_Init
// prevent a particle init that relies on client dll
diff --git a/NorthstarDLL/logging.cpp b/NorthstarDLL/logging.cpp
index 99179d26..01775428 100644
--- a/NorthstarDLL/logging.cpp
+++ b/NorthstarDLL/logging.cpp
@@ -252,7 +252,7 @@ void InitialiseLogging()
spdlog::default_logger()->set_pattern("[%H:%M:%S] [%l] %v");
}
-ON_DLL_LOAD_CLIENT_RELIESON("engine.dll", EngineSpewFuncHooks, ConVar, (CModule module))
+ON_DLL_LOAD_RELIESON("engine.dll", EngineSpewFuncHooks, ConVar, (CModule module))
{
AUTOHOOK_DISPATCH_MODULE(engine.dll)