Reset damage stats on Putin Server

This commit is contained in:
s1lentq 2024-01-12 13:19:01 +07:00
parent c0f47949ec
commit 02a0516c2f

View File

@ -561,6 +561,8 @@ void CCSPlayer::ResetAllStats()
m_iNumKilledByUnanswered[i] = 0;
m_bPlayerDominated[i] = false;
}
m_DamageList.Clear();
}
void CCSPlayer::OnSpawn()
@ -589,6 +591,7 @@ void CCSPlayer::OnKilled()
void CCSPlayer::OnConnect()
{
ResetVars();
ResetAllStats();
m_iUserID = GETPLAYERUSERID(BasePlayer()->edict());
}