diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-27 02:41:36 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-27 02:41:36 +0000 |
commit | 9855e3c4efeb58fe298147fe52460b358739d7dc (patch) | |
tree | 29752412b0a40d6f9c25def293309707bb12038c /NorthstarDedicatedTest/clientauthhooks.cpp | |
parent | f66ea9ce2af44a00e49e6defaa7ec6ef4f100bb4 (diff) | |
download | NorthstarLauncher-9855e3c4efeb58fe298147fe52460b358739d7dc.tar.gz NorthstarLauncher-9855e3c4efeb58fe298147fe52460b358739d7dc.zip |
potential fix for ns_has_agreed_to_send_token not being written to cfg
Diffstat (limited to 'NorthstarDedicatedTest/clientauthhooks.cpp')
-rw-r--r-- | NorthstarDedicatedTest/clientauthhooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/clientauthhooks.cpp b/NorthstarDedicatedTest/clientauthhooks.cpp index ff7e42f6..889512a2 100644 --- a/NorthstarDedicatedTest/clientauthhooks.cpp +++ b/NorthstarDedicatedTest/clientauthhooks.cpp @@ -35,7 +35,7 @@ void InitialiseClientAuthHooks(HMODULE baseAddress) return; // this cvar will save to cfg once initially agreed with - Cvar_ns_has_agreed_to_send_token = RegisterConVar("ns_has_agreed_to_send_token", "0", FCVAR_CLIENTDLL | FCVAR_ARCHIVE, "whether the user has agreed to send their origin token to the northstar masterserver"); + Cvar_ns_has_agreed_to_send_token = RegisterConVar("ns_has_agreed_to_send_token", "0", FCVAR_ARCHIVE_PLAYERPROFILE, "whether the user has agreed to send their origin token to the northstar masterserver"); HookEnabler hook; ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x1843A0, &AuthWithStryderHook, reinterpret_cast<LPVOID*>(&AuthWithStryder)); |