Skip to content

Commit be6c493

Browse files
committed
label up the 2 countdowns
1 parent 4f76562 commit be6c493

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/game/client/tf/tf_hud_match_status.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ void CTFHudMatchStatus::FireGameEvent( IGameEvent * event )
638638

639639
void CTFHudMatchStatus::HandleCountdown( int nTime )
640640
{
641+
// this is the drop dead final countdown for matches
641642
// Update the timer
642643
SetDialogVariable( "countdown", nTime );
643644

src/game/client/tf/tf_hud_tournament.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ CHudTournament::CHudTournament( const char *pElementName ) : CHudElement( pEleme
9393

9494
m_pScoreboard = NULL;
9595

96+
// this is the match start timer and in non-match games, it is the round start timer/countdown.
9697
m_pCountdownBG = new vgui::ScalableImagePanel( this, "CountdownBG" );
9798
m_pCountdownLabel = new CExLabel( this, "CountdownLabel", L"" );
9899
m_pCountdownLabelShadow = new CExLabel( this, "CountdownLabelShadow", L"" );
@@ -409,7 +410,6 @@ void CHudTournament::PreparePanel( void )
409410
C_TFPlayer* pLocalPlayer = C_TFPlayer::GetLocalTFPlayer();
410411
if ( pLocalPlayer && pLocalPlayer->GetTeamNumber() != m_iLocalTeam )
411412
{
412-
413413
m_iLocalTeam = pLocalPlayer->GetTeamNumber();
414414
if ( m_pCountdownBG )
415415
{

0 commit comments

Comments
 (0)