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

campaign list workaround

This commit is contained in:
Laserlicht
2024-12-27 21:22:45 +01:00
parent 50d3e71468
commit 7dba34c16e
3 changed files with 12 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ void ApplyOnLobbyHandlerNetPackVisitor::visitLobbyClientConnected(LobbyClientCon
GH.windows().popWindows(1);
}
GH.windows().createAndPushWindow<CLobbyScreen>(handler.screenType);
GH.windows().createAndPushWindow<CLobbyScreen>(handler.screenType, handler.campaignStateToSend && !handler.campaignStateToSend->campaignSet.empty());
}
handler.setState(EClientState::LOBBY);
}