diff --git a/src/network/protocols/connect_to_server.cpp b/src/network/protocols/connect_to_server.cpp index 524c37fff..d21a00888 100644 --- a/src/network/protocols/connect_to_server.cpp +++ b/src/network/protocols/connect_to_server.cpp @@ -183,7 +183,8 @@ void ConnectToServer::asynchronousUpdate() return; } if (m_server_address.getIP() - == NetworkConfig::get()->getMyAddress().getIP()) + == NetworkConfig::get()->getMyAddress().getIP() || + NetworkConfig::get()->isLAN()) { // We're in the same lan (same public ip address). // The state will change to CONNECTING