mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't reset stats when player goes spectator
This commit is contained in:
parent
d06d085696
commit
3e3daf46bd
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue