From 5e8c0a892ddaf026cab333cf2ede835f04ec0b3b Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 25 Aug 2025 15:39:06 +0200 Subject: [PATCH] try to fix nodes being occupied if connection didnt recieve any acks --- src/d_net.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/d_net.c b/src/d_net.c index 539ec75ea..9d850daf3 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -713,6 +713,12 @@ void Net_CloseConnection(INT32 node) Net_SendAcks(node); Net_SendAcks(node); } + else + { + // if the connection hasn't acknowledged anything, it's possible for it to permanently occupy the node. + // to prevent this, drop the connection. + forceclose = true; + } // check if we are waiting for an ack from this node for (i = 0; i < MAXACKPACKETS; i++)