1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-20 02:42:42 +01:00

Cleanup: Remove repeated network error message on connection timeout. (#7327)

This commit is contained in:
SamuXarick
2019-03-07 18:16:52 +00:00
committed by Patric Stout
parent 88c5122b39
commit 948de16255

View File

@@ -1175,7 +1175,6 @@ void ClientNetworkGameSocketHandler::CheckConnection()
* the server will forcefully disconnect you. */
if (lag > 20) {
this->NetworkGameSocketHandler::CloseConnection();
ShowErrorMessage(STR_NETWORK_ERROR_LOSTCONNECTION, INVALID_STRING_ID, WL_CRITICAL);
return;
}