1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 11:47:48 +00:00

Add one more check to World Server. This should fix World breaking after

idling for a long time
This commit is contained in:
Yogurt 2019-06-09 15:14:23 -07:00
parent 324026874a
commit 561114833c

View file

@ -28,6 +28,9 @@ namespace FFXIVClassic_World_Server
public void QueuePacket(SubPacket subpacket) public void QueuePacket(SubPacket subpacket)
{ {
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
FlushQueuedSendPackets();
bool isAuthed = true; bool isAuthed = true;
bool isEncrypted = false; bool isEncrypted = false;
subpacket.SetTargetId(owner.sessionId); subpacket.SetTargetId(owner.sessionId);