1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Pass whole gamestate over network

This commit is contained in:
nordsoft
2022-09-28 23:15:05 +04:00
parent 4a7d290112
commit 7ee4fca120
7 changed files with 19 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ bool LobbyStartGame::applyOnLobbyHandler(CServerHandler * handler)
void LobbyStartGame::applyOnLobbyScreen(CLobbyScreen * lobby, CServerHandler * handler)
{
GH.pushIntT<CLoadingScreen>(std::bind(&CServerHandler::startGameplay, handler));
GH.pushIntT<CLoadingScreen>(std::bind(&CServerHandler::startGameplay, handler, nullptr));
}
bool LobbyUpdateState::applyOnLobbyHandler(CServerHandler * handler)