From 9e1d7146add13f9443fa36b9e9e742f93cd63986 Mon Sep 17 00:00:00 2001 From: Ashnal Date: Thu, 20 Aug 2020 23:38:04 -0400 Subject: [PATCH] Fixed retry timeout to no ttrigger when starting a local server --- src/d_clisrv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 2a138177..2441659c 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -2394,7 +2394,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic } break; 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("Network game synchronization aborted.\n")); @@ -2559,6 +2559,7 @@ static void CL_ConnectToServer(void) oldtic = I_GetTime() - 1; #ifndef NONET asksent = I_GetTime() - NEWTICRATE*3; + firstconnectattempttime = I_GetTime(); i = SL_SearchServer(servernode);