1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +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

@@ -181,6 +181,8 @@ bool LobbyStartGame::applyOnServer(CVCMIServer * srv)
return false;
initializedStartInfo = std::make_shared<StartInfo>(*srv->gh->getStartInfo(true));
initializedGameState = srv->gh->gameState();
return true;
}