From 84e7672cca213e8449622787316f74c4cfd050af Mon Sep 17 00:00:00 2001 From: Louis-Antoine Date: Tue, 3 Dec 2019 12:02:14 +0100 Subject: [PATCH] Temporary fix for the fade timeout --- src/d_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_net.c b/src/d_net.c index cbfef7726..63210954e 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -497,9 +497,9 @@ void Net_AckTicker(void) node_t *node = &nodes[nodei]; if (ackpak[i].acknum && ackpak[i].senttime + NODETIMEOUT < I_GetTime()) { - if (ackpak[i].resentnum > 10 && (node->flags & NF_CLOSE)) + if (ackpak[i].resentnum > 20 && (node->flags & NF_CLOSE)) { - DEBFILE(va("ack %d sent 10 times so connection is supposed lost: node %d\n", + DEBFILE(va("ack %d sent 20 times so connection is supposed lost: node %d\n", i, nodei)); Net_CloseConnection(nodei | FORCECLOSE);