mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Merge remote-tracking branch 'vcmi/develop' into lobby
This commit is contained in:
@@ -610,7 +610,9 @@ bool CServerHandler::validateGameStart(bool allowOnlyAI) const
|
||||
void CServerHandler::sendStartGame(bool allowOnlyAI) const
|
||||
{
|
||||
verifyStateBeforeStart(allowOnlyAI ? true : settings["session"]["onlyai"].Bool());
|
||||
GH.windows().createAndPushWindow<CLoadingScreen>();
|
||||
|
||||
if(!settings["session"]["headless"].Bool())
|
||||
GH.windows().createAndPushWindow<CLoadingScreen>();
|
||||
|
||||
LobbyStartGame lsg;
|
||||
if(client)
|
||||
|
||||
Reference in New Issue
Block a user