1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Do not start listening for connections in single-player games

This commit is contained in:
Ivan Savenko
2025-02-02 19:11:05 +00:00
parent d9244cf061
commit 048fc503c3
7 changed files with 35 additions and 28 deletions

View File

@@ -99,7 +99,7 @@ void GlobalLobbyProcessor::receiveServerLoginSuccess(const JsonNode & json)
{
// no-op, wait just for any new commands from lobby
logGlobal->info("Lobby: Successfully connected to lobby server");
owner.startAcceptingIncomingConnections();
owner.startAcceptingIncomingConnections(true);
}
void GlobalLobbyProcessor::receiveAccountJoinsRoom(const JsonNode & json)