mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix game startup
This commit is contained in:
@@ -294,7 +294,7 @@ bool CVCMIServer::prepareToStartGame()
|
||||
void CVCMIServer::startGameImmediately()
|
||||
{
|
||||
for(auto activeConnection : activeConnections)
|
||||
activeConnection->setCallback(&gh->gameInfo());
|
||||
activeConnection->setCallback(gh->gameInfo());
|
||||
|
||||
gh->start(si->mode == EStartMode::LOAD_GAME);
|
||||
setState(EServerState::GAMEPLAY);
|
||||
|
||||
Reference in New Issue
Block a user