mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-31 23:00:57 +00:00
Unclose a node if it sends PT_CLIENTJOIN..? fuck it, why not
This commit is contained in:
parent
ca2979c1af
commit
7090cf16b4
1 changed files with 5 additions and 0 deletions
|
@ -1374,6 +1374,8 @@ static boolean CL_SendJoin(void)
|
||||||
netbuffer->u.clientcfg.challengenum = cl_challengenum;
|
netbuffer->u.clientcfg.challengenum = cl_challengenum;
|
||||||
memcpy(netbuffer->u.clientcfg.challengeanswer, cl_challengeanswer, MD5_LEN);
|
memcpy(netbuffer->u.clientcfg.challengeanswer, cl_challengeanswer, MD5_LEN);
|
||||||
|
|
||||||
|
nodes[servernode].flags &= ~NF_CLOSE; // Hell if I know.
|
||||||
|
|
||||||
return HSendPacket(servernode, true, 0, sizeof (clientconfig_pak));
|
return HSendPacket(servernode, true, 0, sizeof (clientconfig_pak));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3830,6 +3832,9 @@ static void HandleConnect(SINT8 node)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The connecting node may be
|
||||||
|
nodes[node].flags &= ~NF_CLOSE;
|
||||||
|
|
||||||
if (netbuffer->u.clientcfg.needsdownload)
|
if (netbuffer->u.clientcfg.needsdownload)
|
||||||
{
|
{
|
||||||
netbuffer->packettype = PT_DOWNLOADFILESOKAY;
|
netbuffer->packettype = PT_DOWNLOADFILESOKAY;
|
||||||
|
|
Loading…
Reference in a new issue