mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Temporary fix for the fade timeout
This commit is contained in:
parent
e664e8b7f3
commit
84e7672cca
1 changed files with 2 additions and 2 deletions
|
@ -497,9 +497,9 @@ void Net_AckTicker(void)
|
||||||
node_t *node = &nodes[nodei];
|
node_t *node = &nodes[nodei];
|
||||||
if (ackpak[i].acknum && ackpak[i].senttime + NODETIMEOUT < I_GetTime())
|
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));
|
i, nodei));
|
||||||
Net_CloseConnection(nodei | FORCECLOSE);
|
Net_CloseConnection(nodei | FORCECLOSE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue