Merge branch 'fix-wait-to-join' into 'master'

Fix signature verification error when waiting to join a full server for a long time

See merge request kart-krew-dev/ring-racers-internal!2769
This commit is contained in:
Oni VelocitOni 2025-08-26 03:51:18 +00:00
commit 7cdca71b5d

View file

@ -2150,7 +2150,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
case CL_WAITJOINRESPONSE: case CL_WAITJOINRESPONSE:
if (I_GetTime() >= *asksent) if (I_GetTime() >= *asksent)
{ {
cl_mode = CL_ASKJOIN; cl_mode = CL_SENDKEY;
} }
break; break;
case CL_SENDKEY: case CL_SENDKEY:
@ -4820,7 +4820,7 @@ static void HandlePacketFromAwayNode(SINT8 node)
//Special timeout for when refusing due to player cap. The client will wait 3 seconds between join requests when waiting for a slot, so we need this to be much longer //Special timeout for when refusing due to player cap. The client will wait 3 seconds between join requests when waiting for a slot, so we need this to be much longer
//We set it back to the value of cv_nettimeout.value in CL_Reset //We set it back to the value of cv_nettimeout.value in CL_Reset
connectiontimeout = NEWTICRATE*7; connectiontimeout = NEWTICRATE*7;
cl_mode = CL_ASKJOIN; cl_mode = CL_SENDKEY;
free(reason); free(reason);
break; break;
} }