engine: client: refactor connection to the server, always send bandwidth test and challenge from single function

This commit is contained in:
Alibek Omarov
2025-09-15 13:03:22 +05:00
parent 5fc104c6a4
commit 2da0db4a31
4 changed files with 11 additions and 18 deletions
+1
View File
@@ -2596,6 +2596,7 @@ void CL_ParseServerMessage( sizebuf_t *msg )
else cls.state = ca_connecting;
cl.background = old_background;
cls.connect_time = MAX_HEARTBEAT;
cls.passed_bandwidth_test = false;
cls.connect_retry = 0;
}
break;