mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
Map Server Packet fix.
This commit is contained in:
parent
611140568e
commit
aba748cb5d
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
||||||
|
|
||||||
public void QueuePacket(SubPacket subpacket)
|
public void QueuePacket(SubPacket subpacket)
|
||||||
{
|
{
|
||||||
|
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
|
||||||
|
FlushQueuedSendPackets();
|
||||||
|
|
||||||
SendPacketQueue.Add(subpacket);
|
SendPacketQueue.Add(subpacket);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue