mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Extracted interface through which GameHandler interacts with VCMIServer
This commit is contained in:
@@ -144,7 +144,7 @@ void CClient::loadGame(std::shared_ptr<CGameState> initializedGameState)
|
||||
logNetwork->info("Game state was transferred over network, loading.");
|
||||
gamestate = initializedGameState;
|
||||
gamestate->preInit(LIBRARY);
|
||||
gamestate->updateOnLoad(GAME->server().si.get());
|
||||
gamestate->updateOnLoad(*GAME->server().si);
|
||||
logNetwork->info("Game loaded, initialize interfaces.");
|
||||
|
||||
initMapHandler();
|
||||
|
||||
Reference in New Issue
Block a user