Don't poll stk server if this is a LAN server.
This commit is contained in:
parent
5fc830825f
commit
2e65b23539
@ -141,7 +141,9 @@ void ServerLobbyRoomProtocol::update()
|
||||
break;
|
||||
case WORKING:
|
||||
{
|
||||
checkIncomingConnectionRequests();
|
||||
// Only poll the STK server if this is a WAN server.
|
||||
if(NetworkConfig::get()->isWAN())
|
||||
checkIncomingConnectionRequests();
|
||||
if (m_in_race && World::getWorld() &&
|
||||
NetworkWorld::getInstance<NetworkWorld>()->isRunning())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user