You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 23:26:32 +09:00
- Fixed various number to avoid re-allocating netbuffer storage
This commit is contained in:
@@ -143,7 +143,7 @@ namespace Lidgren.Network
|
||||
|
||||
private void SendMTUSuccess(int size)
|
||||
{
|
||||
NetOutgoingMessage om = m_peer.CreateMessage(1);
|
||||
NetOutgoingMessage om = m_peer.CreateMessage(4);
|
||||
om.Write(size);
|
||||
om.m_messageType = NetMessageType.ExpandMTUSuccess;
|
||||
int len = om.Encode(m_peer.m_sendBuffer, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user