Client intentionally sets AckedSnapshot to -1 sometimes

This commit is contained in:
Tater 2024-06-02 03:03:49 -05:00
parent 9c6e8c98e6
commit 7de808ae99

View file

@ -1637,7 +1637,7 @@ void CServer::ProcessClientPacket(CNetChunk *pPacket)
}
// The LastAckedSnapshot should only increase
if(LastAckedSnapshot > m_aClients[ClientId].m_LastAckedSnapshot)
if(LastAckedSnapshot > m_aClients[ClientId].m_LastAckedSnapshot || LastAckedSnapshot == -1)
m_aClients[ClientId].m_LastAckedSnapshot = LastAckedSnapshot;
if(m_aClients[ClientId].m_LastAckedSnapshot > 0)