Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
4a18ac2725
@ -385,7 +385,8 @@ void ServerLobby::asynchronousUpdate()
|
|||||||
handlePendingConnection();
|
handlePendingConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (allowJoinedPlayersWaiting() && m_server_recovering.expired() &&
|
if (NetworkConfig::get()->isWAN() &&
|
||||||
|
allowJoinedPlayersWaiting() && m_server_recovering.expired() &&
|
||||||
StkTime::getRealTimeMs() > m_last_success_poll_time.load() + 30000)
|
StkTime::getRealTimeMs() > m_last_success_poll_time.load() + 30000)
|
||||||
{
|
{
|
||||||
Log::warn("ServerLobby", "Trying auto server recovery.");
|
Log::warn("ServerLobby", "Trying auto server recovery.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user