diff --git a/src/network/protocols/server_lobby.cpp b/src/network/protocols/server_lobby.cpp index 8158f0d54..fe3f9ceaf 100644 --- a/src/network/protocols/server_lobby.cpp +++ b/src/network/protocols/server_lobby.cpp @@ -1039,7 +1039,7 @@ void ServerLobby::update(int ticks) NetworkString* back_to_lobby = getNetworkString(1); back_to_lobby->setSynchronous(true); back_to_lobby->addUInt8(LE_BACK_LOBBY).addUInt8(BLR_NONE); - sendMessageToPeers(back_to_lobby, /*reliable*/true); + sendMessageToPeersInServer(back_to_lobby, /*reliable*/true); delete back_to_lobby; std::lock_guard lock(m_connection_mutex); resetServer();