Update sync plus vite.

This commit is contained in:
MarcEricMartel
2023-12-13 13:01:52 -05:00
parent 5ef6ab5006
commit a6b6ac870a
2 changed files with 8 additions and 8 deletions

View File

@@ -91,8 +91,8 @@ void Connection::sendPacks(SOCKET sock, std::unordered_map<uint64_t, Connection*
outs += out.timestamp + last;
if (outs >= 1000) {
outs -= 1000;
if (outs >= 200) {
outs -= 200;
Sync sync;
sync.hp = player->GetHP();
sync.timestamp = out.timestamp;