Skip to content

Commit 378751e

Browse files
committed
fix: Fixed reliable resend
1 parent 42bf26d commit 378751e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Ruffles/Channeling/Channels/ReliableChannel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public void InternalUpdate(out bool timeout)
263263
{
264264
lock (_sendLock)
265265
{
266-
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) < 0; i++)
266+
for (ushort i = (ushort)(_outgoingLowestAckedSequence + 1); SequencingUtils.Distance(i, _lastOutgoingSequence, sizeof(ushort)) <= 0; i++)
267267
{
268268
if (_sendSequencer.TryGet(i, out PendingOutgoingPacket value))
269269
{

0 commit comments

Comments
 (0)