Skip to content

Commit 95b3f63

Browse files
committed
slight fix
1 parent e76ec1a commit 95b3f63

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

game/client/tf/tf_hud_match_status.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,9 @@ void CTFHudMatchStatus::ApplySchemeSettings(IScheme *pScheme)
353353
pConditions = new KeyValues( "conditions" );
354354
AddSubKeyNamed( pConditions, "if_match" );
355355

356-
const IMatchGroupDescription* pMatchDesc = GetMatchGroupDescription( GTFGCClientSystem()->GetLiveMatchGroup() );
357-
if ( pMatchDesc )
356+
if (GetGlobalTeam(TF_TEAM_RED)->GetNumPlayers() >= 12 || GetGlobalTeam(TF_TEAM_BLUE)->GetNumPlayers() >= 12)
358357
{
359-
if (GetGlobalTeam(TF_TEAM_RED)->GetNumPlayers() >= 12 || GetGlobalTeam(TF_TEAM_BLUE)->GetNumPlayers() >= 12)
360-
{
361-
AddSubKeyNamed( pConditions, "if_large" );
362-
}
358+
AddSubKeyNamed( pConditions, "if_large" );
363359
}
364360
}
365361

0 commit comments

Comments
 (0)