From ff48d3c4998835dfca26c3f5db6de91dcf190d83 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Thu, 17 Nov 2022 00:15:46 +0000 Subject: Fix broken chat hooks due to missing `AUTOHOOK_DISPATCH()` (#335) --- NorthstarDLL/clientchathooks.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NorthstarDLL/clientchathooks.cpp b/NorthstarDLL/clientchathooks.cpp index 3346ea2e..1a25c897 100644 --- a/NorthstarDLL/clientchathooks.cpp +++ b/NorthstarDLL/clientchathooks.cpp @@ -70,3 +70,8 @@ ADD_SQFUNC("void", NSChatWriteLine, "int context, string text", "", ScriptContex LocalChatWriter((LocalChatWriter::Context)chatContext).WriteLine(str); return SQRESULT_NULL; } + +ON_DLL_LOAD_CLIENT("client.dll", ClientChatHooks, (CModule module)) +{ + AUTOHOOK_DISPATCH() +} -- cgit v1.2.3