This commit is contained in:
s1lent 2017-11-01 22:50:24 +07:00
parent 168838cd2a
commit b7208e9fbc
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -2523,6 +2523,9 @@ bool CHalfLifeMultiplay::CheckGameOver()
if (m_flIntermissionEndTime < gpGlobals->time && !IsCareer())
{
if (!UTIL_HumansInGame() // if only bots, just change immediately
#ifdef REGAMEDLL_FIXES
|| IsMultiplayer()
#endif
|| m_iEndIntermissionButtonHit // check that someone has pressed a key, or the max intermission time is over
|| ((m_flIntermissionStartTime + MAX_INTERMISSION_TIME) < gpGlobals->time))
{