From f4af03a8183e4bc583c36b8c228cba4226c0b5ef Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 7 Nov 2016 14:16:36 +0700 Subject: [PATCH] Fix singleplayer --- dlls/triggers.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/triggers.cpp b/dlls/triggers.cpp index 9d535053..c09253ec 100644 --- a/dlls/triggers.cpp +++ b/dlls/triggers.cpp @@ -2201,6 +2201,8 @@ void CChangeLevel::ChangeLevelNow( CBaseEntity *pActivator ) g_iMenu = 0; g_GlobalMenu.m_iConfirm = 0; // loop through all clients, reset state + if( mp_coop_changelevel.value ) + { for( int i = 1; i <= gpGlobals->maxClients; i++ ) { CBasePlayer *plr = (CBasePlayer*)UTIL_PlayerByIndex( i ); @@ -2225,6 +2227,7 @@ void CChangeLevel::ChangeLevelNow( CBaseEntity *pActivator ) } } g_fPause = true; + } s_SavedCoords.fUsed = m_bUsed; s_SavedCoords.valid = valid; if( mp_coop_reconnect_hack.value )