ReAdding Azia's fixes that got removed when I fucked up on the license change.

This commit is contained in:
Yogurt 2019-06-08 21:11:51 -07:00 committed by Filip Maj
parent afd056d82d
commit d3027c3b26
4 changed files with 25 additions and 2 deletions

View file

@ -62,6 +62,9 @@ namespace Meteor.Lobby
public void QueuePacket(BasePacket packet)
{
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
FlushQueuedSendPackets();
SendPacketQueue.Add(packet);
}