Fix match hud breaking if initially disabled by user

This commit is contained in:
ficool2 2025-04-04 10:59:49 +01:00
parent 0759e2e8e1
commit 3c14eefc2e

View file

@ -269,7 +269,7 @@ CTFHudMatchStatus::CTFHudMatchStatus(const char *pElementName)
: CHudElement(pElementName)
, BaseClass(NULL, "HudMatchStatus")
, m_pTimePanel( NULL )
, m_bUseMatchHUD( false )
, m_bUseMatchHUD( ShouldUseMatchHUD() )
, m_eMatchGroupSettings( k_eTFMatchGroup_Invalid )
{
Panel *pParent = g_pClientMode->GetViewport();