mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix duplicate pubkey detection misfiring on retry
This commit is contained in:
parent
6e6c0cd71f
commit
78086fc625
1 changed files with 2 additions and 0 deletions
|
|
@ -4231,6 +4231,8 @@ static void HandleConnect(SINT8 node)
|
||||||
// Players already here
|
// Players already here
|
||||||
for (j = 0; j < MAXPLAYERS; j++)
|
for (j = 0; j < MAXPLAYERS; j++)
|
||||||
{
|
{
|
||||||
|
if (!playeringame[j])
|
||||||
|
continue;
|
||||||
if (memcmp(lastReceivedKey[node][i], players[j].public_key, PUBKEYLENGTH) == 0)
|
if (memcmp(lastReceivedKey[node][i], players[j].public_key, PUBKEYLENGTH) == 0)
|
||||||
{
|
{
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue