mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 00:50:41 +01:00
Cleanup: Remove repeated network error message on connection timeout. (#7327)
This commit is contained in:
parent
a7e335c0b3
commit
cdb6dbad85
@ -1175,7 +1175,6 @@ void ClientNetworkGameSocketHandler::CheckConnection()
|
|||||||
* the server will forcefully disconnect you. */
|
* the server will forcefully disconnect you. */
|
||||||
if (lag > 20) {
|
if (lag > 20) {
|
||||||
this->NetworkGameSocketHandler::CloseConnection();
|
this->NetworkGameSocketHandler::CloseConnection();
|
||||||
ShowErrorMessage(STR_NETWORK_ERROR_LOSTCONNECTION, INVALID_STRING_ID, WL_CRITICAL);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user