aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/misccommands.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-09-02 00:38:07 +0200
committerGitHub <noreply@github.com>2022-09-02 00:38:07 +0200
commitf2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8 (patch)
treeeb23e0d5ebfc8f796b7bde55179ae3dc0ae46d3f /NorthstarDLL/misccommands.cpp
parent80673fb5cfa32d3ff75d54c4c4173d32905fda30 (diff)
downloadNorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.tar.gz
NorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.zip
Refactor cleanup (some formatting fixes) (#257)
* Fix some formatting * More formatting fixes
Diffstat (limited to 'NorthstarDLL/misccommands.cpp')
-rw-r--r--NorthstarDLL/misccommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDLL/misccommands.cpp b/NorthstarDLL/misccommands.cpp
index c61f13ec..e745752f 100644
--- a/NorthstarDLL/misccommands.cpp
+++ b/NorthstarDLL/misccommands.cpp
@@ -9,7 +9,7 @@
#include "serverauthentication.h"
#include "squirrel.h"
-void ConCommand_force_newgame(const CCommand& arg)
+void ConCommand_force_newgame(const CCommand& arg)
{
if (arg.ArgC() < 2)
return;
@@ -18,14 +18,14 @@ void ConCommand_force_newgame(const CCommand& arg)
strncpy(R2::g_pHostState->m_levelName, arg.Arg(1), sizeof(R2::g_pHostState->m_levelName));
}
-void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg)
+void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg)
{
// hack for special case where we're on a local server, so we erase our own newly created auth data on disconnect
g_pMasterServerManager->m_bNewgameAfterSelfAuth = true;
g_pMasterServerManager->AuthenticateWithOwnServer(R2::g_pLocalPlayerUserID, g_pMasterServerManager->m_sOwnClientAuthToken);
}
-void ConCommand_ns_end_reauth_and_leave_to_lobby(const CCommand& arg)
+void ConCommand_ns_end_reauth_and_leave_to_lobby(const CCommand& arg)
{
R2::Cbuf_AddText(
R2::Cbuf_GetCurrentPlayer(),