summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>2019-03-07 18:16:52 +0000
committerPeterN <peter@fuzzle.org>2019-03-07 18:16:52 +0000
commitcdb6dbad851cabb99049b6a4b593f36c0cc838c1 (patch)
tree1fb5b460fcd42878dd889c13b0478995ce345452
parenta7e335c0b36655506b88e7e01a4c717cde7d85c6 (diff)
downloadopenttd-cdb6dbad851cabb99049b6a4b593f36c0cc838c1.tar.xz
Cleanup: Remove repeated network error message on connection timeout. (#7327)
-rw-r--r--src/network/network_client.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index 0cb7728e6..62db6a555 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -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;
}