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 39f6dde commit 2d13b53Copy full SHA for 2d13b53
src/game/client/tf/vgui/tf_clientscoreboard.cpp
@@ -1464,8 +1464,8 @@ void CTFClientScoreBoardDialog::UpdatePlayerList()
1464
}
1465
1466
1467
- // can only see class information if we're on the same team
1468
- if ( !AreEnemyTeams( g_PR->GetTeam( playerIndex ), localteam ) && !( localteam == TEAM_UNASSIGNED ) )
+ // can only see class information if we're on the same team, unless the game is over
+ if ( ( !AreEnemyTeams( g_PR->GetTeam( playerIndex ), localteam ) && !( localteam == TEAM_UNASSIGNED ) ) || ( TFGameRules() && TFGameRules()->State_Get() == GR_STATE_GAME_OVER ) )
1469
{
1470
// class name
1471
if ( g_PR->IsConnected( playerIndex ) )
0 commit comments