From 3015ffe3ba7d33ae4ed1d884beccdfe9ae315889 Mon Sep 17 00:00:00 2001 From: Sardelka Date: Sat, 30 Jul 2022 11:44:14 +0800 Subject: [PATCH] Revert "flush" This reverts commit 459cfccff5972a0f984f939dda0a88f157930ba6. --- RageCoop.Client/Networking/Networking.cs | 2 +- RageCoop.Client/Sync/EntityPool.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RageCoop.Client/Networking/Networking.cs b/RageCoop.Client/Networking/Networking.cs index 7b4866a..a9a11a0 100644 --- a/RageCoop.Client/Networking/Networking.cs +++ b/RageCoop.Client/Networking/Networking.cs @@ -53,7 +53,7 @@ namespace RageCoop.Client // 623c92c287cc392406e7aaaac1c0f3b0 = RAGECOOP NetPeerConfiguration config = new NetPeerConfiguration("623c92c287cc392406e7aaaac1c0f3b0") { - AutoFlushSendQueue = true + AutoFlushSendQueue = false }; config.EnableMessageType(NetIncomingMessageType.UnconnectedData); diff --git a/RageCoop.Client/Sync/EntityPool.cs b/RageCoop.Client/Sync/EntityPool.cs index 251e8d6..8103955 100644 --- a/RageCoop.Client/Sync/EntityPool.cs +++ b/RageCoop.Client/Sync/EntityPool.cs @@ -561,7 +561,7 @@ namespace RageCoop.Client #endif } - // ThreadPool.QueueUserWorkItem((o) => { Networking.Client.FlushSendQueue(); }); + ThreadPool.QueueUserWorkItem((o) => { Networking.Client.FlushSendQueue(); }); }