mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
Ignore duplicate PT_CLIENTJOIN packets
This commit is contained in:
parent
6ae44fe91d
commit
e519f306fb
1 changed files with 4 additions and 0 deletions
|
@ -3505,6 +3505,10 @@ static void HandleConnect(SINT8 node)
|
|||
INT32 rejoinernum;
|
||||
INT32 i;
|
||||
|
||||
// Ignore duplicate packets
|
||||
if (netnodes[node].ingame)
|
||||
return;
|
||||
|
||||
rejoinernum = FindRejoinerNum(node);
|
||||
|
||||
const char *refuse = GetRefuseMessage(node, rejoinernum);
|
||||
|
|
Loading…
Reference in a new issue