Don't reset stats when player goes spectator

This commit is contained in:
Nikita Zyuzin 2015-05-21 14:32:17 +04:00
parent d06d085696
commit 3e3daf46bd

View file

@ -1109,7 +1109,6 @@ void CGameClient::OnNewSnapshot()
{
if(m_aStats[i].m_Active && !m_aStats[i].m_WasActive)
{
m_aStats[i].Reset(); // Client connected, reset stats.
m_aStats[i].m_Active = true;
m_aStats[i].m_JoinDate = Client()->GameTick();
}