mirror of https://github.com/OpenTTD/OpenTTD
Cleanup: Remove repeated network error message on connection timeout. (#7327)
parent
88c5122b39
commit
948de16255
|
@ -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