Skip to content

Commit

Permalink
fix: Fixed reliable sequenced resend
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoTenPvP committed Nov 10, 2020
1 parent 57660bb commit efe8da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ruffles/Channeling/Channels/ReliableSequencedChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public void InternalUpdate(out bool timeout)
{
lock (_sendLock)
{
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) < 0; i++)
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) <= 0; i++)
{
if (_sendSequencer.TryGet(i, out PendingOutgoingPacket value))
{
Expand Down

0 comments on commit efe8da6

Please sign in to comment.