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:
parent
324026874a
commit
561114833c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue