From f792afd288917d0c79b1360bfb7bdadd34f41546 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 partial port from srb2classic --- src/d_net.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/d_net.c b/src/d_net.c index f407f6281..f552bc898 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -698,6 +698,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++)