diff --git a/plugins/dm.gameconnection/GameConnection.cpp b/plugins/dm.gameconnection/GameConnection.cpp index a5f11b4c62..0c1b7d3a7e 100644 --- a/plugins/dm.gameconnection/GameConnection.cpp +++ b/plugins/dm.gameconnection/GameConnection.cpp @@ -181,17 +181,13 @@ bool GameConnection::connect() { || !connection->SetNonblocking() || !connection->Open(DEFAULT_HOST, DEFAULT_PORT)) { - showError(_("Failed to connect to game process")); return false; } _connection.reset(new MessageTcp()); _connection->init(std::move(connection)); if (!_connection->isAlive()) - { - showError(_("Failed to connect to game process")); return false; - } _thinkTimer.reset(new wxTimer()); _thinkTimer->Bind(wxEVT_TIMER, &GameConnection::onTimerEvent, this);