1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 14:46:29 +09:00

trigger heartbeat send flush for resends

This commit is contained in:
Michael Lidgren
2015-05-23 13:11:11 +02:00
parent dff2f0131f
commit 9878bb3f01

View File

@@ -323,6 +323,9 @@ namespace Lidgren.Network
m_sendBufferNumMessages = 0;
}
if (m_sendBufferWritePtr > 0)
m_peer.m_needFlushSendQueue = true; // flush in heartbeat
Interlocked.Decrement(ref om.m_recyclingCount);
}