mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Some change
This commit is contained in:
@@ -230,13 +230,13 @@ bool CVCMIServer::prepareToStartGame()
|
|||||||
state = EServerState::LOBBY;
|
state = EServerState::LOBBY;
|
||||||
// FIXME: dirry hack to make sure old CGameHandler::run is finished
|
// FIXME: dirry hack to make sure old CGameHandler::run is finished
|
||||||
boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
|
boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
|
||||||
|
}
|
||||||
|
|
||||||
for(auto c : connections)
|
for(auto c : connections)
|
||||||
{
|
{
|
||||||
c->enterLobbyConnectionMode();
|
c->enterLobbyConnectionMode();
|
||||||
c->disableStackSendingByID();
|
c->disableStackSendingByID();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//if(!gh)
|
//if(!gh)
|
||||||
gh = std::make_shared<CGameHandler>(this);
|
gh = std::make_shared<CGameHandler>(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user