Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LiteNetLib/LiteNetPeer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ private void OverrideMtu(int mtuValue)
/// <param name="ordered">type of channel ReliableOrdered or ReliableUnordered</param>
/// <returns>packets count in channel queue</returns>
public int GetPacketsCountInReliableQueue(bool ordered) =>
_reliableChannel?.PacketsInQueue ?? 0;
(ordered ? _reliableChannel : _reliableUnorderedChannel)?.PacketsInQueue ?? 0;

/// <summary>
/// Create temporary packet (maximum size MTU - headerSize) to send later without additional copies
Expand Down