aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/clientauthhooks.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-03-18 09:37:03 +0000
committerGitHub <noreply@github.com>2022-03-18 09:37:03 +0000
commit92f77b231ac324cc1326bef31251fc6b86df1f3b (patch)
tree1d5a2843af2db31305a96c194e8b21280dccd340 /NorthstarDedicatedTest/clientauthhooks.cpp
parent50e69bde548c5a1af3385f0eff6aa14c088c21c5 (diff)
downloadNorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.tar.gz
NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.zip
refactor dll load callbacks to lower number of dedicated.h includes (#109)
Diffstat (limited to 'NorthstarDedicatedTest/clientauthhooks.cpp')
-rw-r--r--NorthstarDedicatedTest/clientauthhooks.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/clientauthhooks.cpp b/NorthstarDedicatedTest/clientauthhooks.cpp
index 3b98e84a..40c218c4 100644
--- a/NorthstarDedicatedTest/clientauthhooks.cpp
+++ b/NorthstarDedicatedTest/clientauthhooks.cpp
@@ -1,7 +1,6 @@
#include "pch.h"
#include "clientauthhooks.h"
#include "hookutils.h"
-#include "dedicated.h"
#include "gameutils.h"
#include "masterserver.h"
#include "convar.h"
@@ -36,9 +35,6 @@ void AuthWithStryderHook(void* a1)
void InitialiseClientAuthHooks(HMODULE baseAddress)
{
- if (IsDedicated())
- return;
-
// this cvar will save to cfg once initially agreed with
Cvar_ns_has_agreed_to_send_token = new ConVar(
"ns_has_agreed_to_send_token", "0", FCVAR_ARCHIVE_PLAYERPROFILE,