Fix real lan network connection
This commit is contained in:
parent
894a38f6c7
commit
34f9d507d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user