This commit is contained in:
Benau 2022-04-09 10:43:30 +08:00
parent 2c7cb7fa67
commit 8bbb142394

View File

@ -3642,8 +3642,7 @@ void ServerLobby::connectionRequested(Event* event)
(player_count != 1 || online_id == 0 || duplicated_ranked_player)) ||
(peer->isAIPeer() && !peer->getAddress().isLAN() &&!ServerConfig::m_ai_anywhere) ||
(peer->isAIPeer() &&
ServerConfig::m_ai_handling && !m_ai_peer.expired()) ||
(peer->isAIPeer() && m_game_setup->isGrandPrix()))
ServerConfig::m_ai_handling && !m_ai_peer.expired()))
{
NetworkString* message = getNetworkString(2);
message->setSynchronous(true);