Improved logout handling
This commit is contained in:
@@ -21,6 +21,7 @@ class PacketWriteQueue {
|
||||
is UpdateSceneGraph,
|
||||
is BuildDynamicScene,
|
||||
is InstancedLocationUpdate,
|
||||
is Logout,
|
||||
is ClearRegionChunk -> packet.send(context)
|
||||
//Rest get queued up and sent at the end of the tick (authentic)
|
||||
else -> push(packet, context)
|
||||
@@ -65,4 +66,4 @@ class PacketWriteQueue {
|
||||
}
|
||||
}
|
||||
|
||||
class QueuedPacket<T>(val out: OutgoingPacket<T>, val context: T)
|
||||
class QueuedPacket<T>(val out: OutgoingPacket<T>, val context: T)
|
||||
|
||||
Reference in New Issue
Block a user