mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
7cdca71b5d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue