This commit is contained in:
in0finite 2022-05-04 03:01:53 +02:00
parent ff896ab512
commit 0ae5c8af8a

View file

@ -312,10 +312,10 @@ namespace SanAndreasUnity.Net
break;
SyncData syncData = m_snapshotBuffer.Peek();
if (syncData.RemoteTimeStamp < currentNetworkTime)
m_snapshotBuffer.Dequeue();
else
if (syncData.RemoteTimeStamp >= currentNetworkTime)
break;
m_snapshotBuffer.Dequeue();
}
}