We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52e2d4 commit a2b838fCopy full SHA for a2b838f
1 file changed
src/game/shared/teamplayroundbased_gamerules.cpp
@@ -1399,6 +1399,14 @@ int CTeamplayRoundBasedRules::GetTimeLeft( void )
1399
//-----------------------------------------------------------------------------
1400
bool CTeamplayRoundBasedRules::CheckNextLevelCvar( bool bAllowEnd /*= true*/ )
1401
{
1402
+ ETFMatchGroup eMatchGroup = TFGameRules()->GetCurrentMatchGroupWithEmulation();
1403
+ bool bMultiSeries = GetMatchGroupDescription( eMatchGroup ) && GetMatchGroupDescription( eMatchGroup )->BUsesMultiSeries();
1404
+ if ( bMultiSeries )
1405
+ {
1406
+ // cannot force the game to be over when next level is set during multi-series.
1407
+ return false;
1408
+ }
1409
+
1410
if ( m_bForceMapReset )
1411
1412
if ( nextlevel.GetString() && *nextlevel.GetString() )
0 commit comments