diff options
Diffstat (limited to 'src/game/client/components/spectator.cpp')
| -rw-r--r-- | src/game/client/components/spectator.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/client/components/spectator.cpp b/src/game/client/components/spectator.cpp index c69a7669..c09b2ee2 100644 --- a/src/game/client/components/spectator.cpp +++ b/src/game/client/components/spectator.cpp @@ -162,6 +162,13 @@ void CSpectator::OnRender() return; } + if(!m_pClient->m_Snap.m_SpecInfo.m_Active) + { + m_Active = false; + m_WasActive = false; + return; + } + m_WasActive = true; m_SelectedSpectatorID = NO_SELECTION; |