File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ CTFMatchSummary::CTFMatchSummary( const char *pElementName )
194194 ListenForGameEvent ( " client_disconnect" );
195195 ListenForGameEvent ( " show_match_summary" );
196196 ListenForGameEvent ( " hide_match_summary" );
197+ ListenForGameEvent ( " teamplay_round_start" );
197198 ListenForGameEvent ( " casual_mvp_panel" );
198199
199200 vgui::ivgui ()->AddTickSignal ( GetVPanel (), 50 );
@@ -1230,7 +1231,7 @@ void CTFMatchSummary::FireGameEvent( IGameEvent *event )
12301231 g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence ( m_pTeamScoresPanel, " HudMatchSummary_SlideInPanels" , false );
12311232 }
12321233 }
1233- else if ( FStrEq ( type, " hide_match_summary" ) )
1234+ else if ( FStrEq ( type, " hide_match_summary" ) || FStrEq ( type, " teamplay_round_start " ) )
12341235 {
12351236 SetVisible ( false );
12361237 const IMatchGroupDescription* pMatchDesc = GetMatchGroupDescription ( TFGameRules ()->GetCurrentMatchGroupWithEmulation () );
You can’t perform that action at this time.
0 commit comments