From 9a76f046939189427261b5cf8621b1feeea5514e Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 28 May 2016 15:31:17 +0200 Subject: [PATCH] Always update Spectator GUI while the player health label is being shown --- mp/src/game/client/sdk/vgui/sdk_spectatorgui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mp/src/game/client/sdk/vgui/sdk_spectatorgui.cpp b/mp/src/game/client/sdk/vgui/sdk_spectatorgui.cpp index 45f61b1c8..c89906ca3 100644 --- a/mp/src/game/client/sdk/vgui/sdk_spectatorgui.cpp +++ b/mp/src/game/client/sdk/vgui/sdk_spectatorgui.cpp @@ -149,6 +149,9 @@ bool CSDKSpectatorGUI::NeedsUpdate( void ) if ( m_nLastSpecTarget != player->GetObserverTarget() ) return true; + if ( ShouldShowPlayerLabel(player->GetObserverMode()) ) + return true; + return BaseClass::NeedsUpdate(); }