mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Merge branch 'fix-dupe-pubkey-detect' into 'master'
Fix duplicate pubkey detection misfiring on retry (resolves #746) Closes #746 See merge request KartKrew/Kart!1597
This commit is contained in:
commit
9ca23365aa
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