1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Fix game startup

This commit is contained in:
Ivan Savenko
2025-05-21 17:35:53 +03:00
parent 1666a5a7e5
commit 508c54c23a
9 changed files with 16 additions and 11 deletions

View File

@ -633,7 +633,6 @@ void CServerHandler::startGameplay(std::shared_ptr<CGameState> gameState)
throw std::runtime_error("Invalid mode");
}
// After everything initialized we can accept CPackToClient netpacks
logicConnection->setCallback(&client->gameState());
setState(EClientState::GAMEPLAY);
}