diff options
Diffstat (limited to 'NorthstarDLL/hoststate.cpp')
-rw-r--r-- | NorthstarDLL/hoststate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDLL/hoststate.cpp b/NorthstarDLL/hoststate.cpp index 287b4625..c0d6b3b9 100644 --- a/NorthstarDLL/hoststate.cpp +++ b/NorthstarDLL/hoststate.cpp @@ -39,6 +39,9 @@ void,, (CHostState* self)) if (g_pServerAuthentication->m_bNeedLocalAuthForNewgame) SetCurrentPlaylist("tdm"); + // don't require authentication on singleplayer startup + g_pServerAuthentication->m_bRequireClientAuth = strncmp(g_pHostState->m_levelName, "sp_", 3); + ServerStartingOrChangingMap(); double dStartTime = Tier0::Plat_FloatTime(); @@ -90,7 +93,6 @@ void, __fastcall, (CHostState* self, double flCurrentTime, float flFrameTime)) // update server presence g_pServerPresence->RunFrame(flCurrentTime); } - } ON_DLL_LOAD_RELIESON("engine.dll", HostState, ConVar, (CModule module)) |