mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed retry timeout to no ttrigger when starting a local server
This commit is contained in:
parent
60cfc091e5
commit
7c5a969473
1 changed files with 2 additions and 1 deletions
|
|
@ -2394,7 +2394,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CL_ASKJOIN:
|
case CL_ASKJOIN:
|
||||||
if (firstconnectattempttime + NEWTICRATE*300 < I_GetTime())
|
if (firstconnectattempttime + NEWTICRATE*300 < I_GetTime() && !server)
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText("5 minute wait time exceeded.\n"));
|
CONS_Printf(M_GetText("5 minute wait time exceeded.\n"));
|
||||||
CONS_Printf(M_GetText("Network game synchronization aborted.\n"));
|
CONS_Printf(M_GetText("Network game synchronization aborted.\n"));
|
||||||
|
|
@ -2559,6 +2559,7 @@ static void CL_ConnectToServer(void)
|
||||||
oldtic = I_GetTime() - 1;
|
oldtic = I_GetTime() - 1;
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
asksent = I_GetTime() - NEWTICRATE*3;
|
asksent = I_GetTime() - NEWTICRATE*3;
|
||||||
|
firstconnectattempttime = I_GetTime();
|
||||||
|
|
||||||
i = SL_SearchServer(servernode);
|
i = SL_SearchServer(servernode);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue