aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/serverauthentication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/serverauthentication.cpp')
-rw-r--r--NorthstarDLL/serverauthentication.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/NorthstarDLL/serverauthentication.cpp b/NorthstarDLL/serverauthentication.cpp
index bff19197..af170766 100644
--- a/NorthstarDLL/serverauthentication.cpp
+++ b/NorthstarDLL/serverauthentication.cpp
@@ -642,7 +642,7 @@ bool ProcessConnectionlessPacketHook(void* a1, netpacket_t* packet)
return ProcessConnectionlessPacket(a1, packet);
}
-void ResetPdataCommand(const CCommand& args)
+void ConCommand_ns_resetpersistence(const CCommand& args)
{
if (*sv_m_State == server_state_t::ss_active)
{
@@ -689,7 +689,8 @@ void InitialiseServerAuthentication(HMODULE baseAddress)
Cvar_net_datablock_enabled = g_pCVar->FindVar("net_datablock_enabled");
- RegisterConCommand("ns_resetpersistence", ResetPdataCommand, "resets your pdata when you next enter the lobby", FCVAR_NONE);
+ RegisterConCommand(
+ "ns_resetpersistence", ConCommand_ns_resetpersistence, "resets your pdata when you next enter the lobby", FCVAR_NONE);
HookEnabler hook;
ENABLER_CREATEHOOK(