mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
ReAdding Azia's fixes that got removed when I fucked up on the license change.
This commit is contained in:
parent
afd056d82d
commit
d3027c3b26
4 changed files with 25 additions and 2 deletions
|
@ -42,11 +42,17 @@ namespace Meteor.World
|
|||
|
||||
public void QueuePacket(BasePacket packet)
|
||||
{
|
||||
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
|
||||
FlushQueuedSendPackets();
|
||||
|
||||
SendPacketQueue.Add(packet);
|
||||
}
|
||||
|
||||
public void QueuePacket(SubPacket subpacket)
|
||||
{
|
||||
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
|
||||
FlushQueuedSendPackets();
|
||||
|
||||
bool isAuthed = true;
|
||||
bool isEncrypted = false;
|
||||
subpacket.SetTargetId(owner.sessionId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue