Skip to content

Commit

Permalink
fix: Fixed reliable resend
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoTenPvP committed Nov 10, 2020
1 parent 42bf26d commit 378751e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ruffles/Channeling/Channels/ReliableChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,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 378751e

Please sign in to comment.