From 92f77b231ac324cc1326bef31251fc6b86df1f3b Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Fri, 18 Mar 2022 09:37:03 +0000 Subject: refactor dll load callbacks to lower number of dedicated.h includes (#109) --- NorthstarDedicatedTest/scriptserverbrowser.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'NorthstarDedicatedTest/scriptserverbrowser.cpp') diff --git a/NorthstarDedicatedTest/scriptserverbrowser.cpp b/NorthstarDedicatedTest/scriptserverbrowser.cpp index 00156856..c70cf248 100644 --- a/NorthstarDedicatedTest/scriptserverbrowser.cpp +++ b/NorthstarDedicatedTest/scriptserverbrowser.cpp @@ -4,7 +4,6 @@ #include "masterserver.h" #include "gameutils.h" #include "serverauthentication.h" -#include "dedicated.h" // functions for viewing server browser @@ -375,9 +374,6 @@ SQRESULT SQ_CompleteAuthWithLocalServer(void* sqvm) void InitialiseScriptServerBrowser(HMODULE baseAddress) { - if (IsDedicated()) - return; - g_UISquirrelManager->AddFuncRegistration("bool", "NSIsMasterServerAuthenticated", "", "", SQ_IsMasterServerAuthenticated); g_UISquirrelManager->AddFuncRegistration("void", "NSRequestServerList", "", "", SQ_RequestServerList); g_UISquirrelManager->AddFuncRegistration("bool", "NSIsRequestingServerList", "", "", SQ_IsRequestingServerList); -- cgit v1.2.3