Skip to content

Commit

Permalink
Fix ack message redundant sequence ID (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
RudyTheDev authored Jan 7, 2024
1 parent 933cafd commit 8bbaa3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RiptideNetworking/RiptideNetworking/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,11 @@ private void SendAck(ushort forSeqId, ushort lastReceivedSeqId, Bitfield receive
if (forSeqId == lastReceivedSeqId)
message.AddBool(false);
else
{
message.AddBool(true);
message.AddUShort(forSeqId);

}

Send(message);
}

Expand Down

0 comments on commit 8bbaa3e

Please sign in to comment.