v0.12.0.2
This commit is contained in:
@@ -44,7 +44,8 @@ namespace Barotrauma.Networking
|
||||
continue;
|
||||
}
|
||||
|
||||
if (msg.LengthBytes + tempBuffer.LengthBytes + tempEventBuffer.LengthBytes > MaxEventBufferLength)
|
||||
if (eventCount > 0 &&
|
||||
msg.LengthBytes + tempBuffer.LengthBytes + tempEventBuffer.LengthBytes > MaxEventBufferLength)
|
||||
{
|
||||
//no more room in this packet
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user