You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 10:21:09 +09:00
Documentation updated; NetSendResult fixed when using AutoFlushSendQueue false
This commit is contained in:
@@ -304,7 +304,10 @@ namespace Lidgren.Network
|
||||
if (msg.GetEncodedSize() > m_currentMTU)
|
||||
throw new NetException("Message too large! Fragmentation failure?");
|
||||
|
||||
return chan.Enqueue(msg);
|
||||
var retval = chan.Enqueue(msg);
|
||||
if (retval == NetSendResult.Sent && m_peerConfiguration.m_autoFlushSendQueue == false)
|
||||
retval = NetSendResult.Queued; // queued since we're not autoflushing
|
||||
return retval;
|
||||
}
|
||||
|
||||
// may be on user thread
|
||||
|
||||
Reference in New Issue
Block a user