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 e76ec1a commit 95b3f63Copy full SHA for 95b3f63
game/client/tf/tf_hud_match_status.cpp
@@ -353,13 +353,9 @@ void CTFHudMatchStatus::ApplySchemeSettings(IScheme *pScheme)
353
pConditions = new KeyValues( "conditions" );
354
AddSubKeyNamed( pConditions, "if_match" );
355
356
- const IMatchGroupDescription* pMatchDesc = GetMatchGroupDescription( GTFGCClientSystem()->GetLiveMatchGroup() );
357
- if ( pMatchDesc )
+ if (GetGlobalTeam(TF_TEAM_RED)->GetNumPlayers() >= 12 || GetGlobalTeam(TF_TEAM_BLUE)->GetNumPlayers() >= 12)
358
{
359
- if (GetGlobalTeam(TF_TEAM_RED)->GetNumPlayers() >= 12 || GetGlobalTeam(TF_TEAM_BLUE)->GetNumPlayers() >= 12)
360
- {
361
- AddSubKeyNamed( pConditions, "if_large" );
362
- }
+ AddSubKeyNamed( pConditions, "if_large" );
363
}
364
365
0 commit comments