1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00
This commit is contained in:
Michael Lidgren
2015-09-27 10:52:15 +02:00
3 changed files with 16 additions and 1 deletions

View File

@@ -268,7 +268,7 @@ namespace Lidgren.Network
if (channel != null)
{
channel.SendQueuedMessages(now);
if (channel.QueuedSendsCount > 0)
if (channel.NeedToSendMessages())
m_peer.m_needFlushSendQueue = true; // failed to send all queued sends; likely a full window - need to try again
}
NetException.Assert(m_sendBufferWritePtr < 1 || m_sendBufferNumMessages > 0);