Ignore duplicate PT_CLIENTJOIN packets

This commit is contained in:
LJ Sonic 2022-12-30 14:03:32 +01:00
parent 6ae44fe91d
commit e519f306fb

View file

@ -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);