From 61ca3f725417d5b479824cded09eaab1909151be Mon Sep 17 00:00:00 2001 From: rabscootle Date: Thu, 1 May 2025 18:46:38 -0500 Subject: [PATCH] Added hotfix for recently added fix; Added check for if the versus doors model hasn't been initialized yet --- src/game/client/tf/tf_hud_match_status.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game/client/tf/tf_hud_match_status.cpp b/src/game/client/tf/tf_hud_match_status.cpp index 1fda3fdbb..29e957879 100644 --- a/src/game/client/tf/tf_hud_match_status.cpp +++ b/src/game/client/tf/tf_hud_match_status.cpp @@ -580,6 +580,12 @@ void CTFHudMatchStatus::FireGameEvent( IGameEvent * event ) int nSubModel = 0; if (pMatchDesc->BGetRoundDoorParameters(nSkin, nSubModel)) { + // Is VS doors model not initialized yet? + if (m_pMatchStartModelPanel->m_hModel == NULL) + { + m_pMatchStartModelPanel->UpdateModel(); + } + m_pMatchStartModelPanel->SetBodyGroup( "logos", nSubModel ); m_pMatchStartModelPanel->UpdateModel(); m_pMatchStartModelPanel->SetSkin( nSkin );