engine: client: give server a bit more time to reply to bandwidth test

This commit is contained in:
Alibek Omarov
2025-09-08 21:19:53 +05:00
parent 97b8fa74a7
commit b2f4d84272

View File

@@ -1234,7 +1234,7 @@ static void CL_CheckForResend( void )
Cvar_DirectSetValue( &cl_resend, CL_MAX_RESEND_TIME );
bandwidthTest = cls.legacymode == PROTO_CURRENT && cl_test_bandwidth.value && cls.connect_retry <= CL_TEST_RETRIES;
resendTime = bandwidthTest ? 1.0f : cl_resend.value;
resendTime = bandwidthTest ? 2.0f : cl_resend.value;
if(( host.realtime - cls.connect_time ) < resendTime )
return;