mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix singleplayer
This commit is contained in:
parent
6ef6d0d27a
commit
f4af03a818
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user