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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user