Skip to content

Commit 10004ef

Browse files
committed
1 parent 9e1c707 commit 10004ef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/game/client/tf/tf_hud_freezepanel.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,13 @@ int CTFFreezePanel::HudElementKeyInput( int down, ButtonCode_t keynum, const cha
11411141
engine->ClientCmd( "extendfreeze" );
11421142
view->FreezeFrame( 3.0f );
11431143

1144+
#ifdef BDSBASE
1145+
// Hide StatPanel here as a workaround for not hiding in time for freezecam screenshots
1146+
CTFStatPanel* pStatPanel = GET_HUDELEMENT(CTFStatPanel);
1147+
if (pStatPanel && pStatPanel->IsVisible())
1148+
pStatPanel->SetVisible(false);
1149+
#endif
1150+
11441151
//Hide the reminder panel
11451152
m_flShowSnapshotReminderAt = 0;
11461153
ShowSnapshotPanel( false );

0 commit comments

Comments
 (0)