From 8bbaa3ea1b9d763fc194144bef757e0e283783b3 Mon Sep 17 00:00:00 2001 From: Rudy <3857299+RudyTheDev@users.noreply.github.com> Date: Sun, 7 Jan 2024 23:01:31 +0200 Subject: [PATCH] Fix ack message redundant sequence ID (#130) --- RiptideNetworking/RiptideNetworking/Connection.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RiptideNetworking/RiptideNetworking/Connection.cs b/RiptideNetworking/RiptideNetworking/Connection.cs index f34ac90e..4184876a 100644 --- a/RiptideNetworking/RiptideNetworking/Connection.cs +++ b/RiptideNetworking/RiptideNetworking/Connection.cs @@ -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); }