diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index e52b304f3..e57533bc8 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -58,6 +58,7 @@ bool CCharacter::Spawn(CPlayer *pPlayer, vec2 Pos) mem_zero(&m_LatestPrevPrevInput, sizeof(m_LatestPrevPrevInput)); m_LatestPrevPrevInput.m_TargetY = -1; + m_NumInputs = 0; m_SpawnTick = Server()->Tick(); m_WeaponChangeTick = Server()->Tick(); Antibot()->OnSpawn(m_pPlayer->GetCID());