From a0455d177a27f47f167ec0f5db487479969ae46d Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:19:06 +0000 Subject: Fix `status` hooks (#316) --- NorthstarDLL/dedicated.cpp | 2 +- NorthstarDLL/logging.cpp | 2 +- 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) -- cgit v1.2.3