From e28dd128e0274bb1353be662ca7d7f5a21587493 Mon Sep 17 00:00:00 2001 From: nordsoft Date: Thu, 13 Apr 2023 12:45:10 +0400 Subject: [PATCH] Revert "Auxiliary commit to revert individual files from fb4db41891e157f4f7d72ee759141754d2df680c" This reverts commit 46d35541b453b6c026c457bf0c788f79311968b3. --- client/CServerHandler.h | 2 +- client/lobby/CLobbyScreen.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/CServerHandler.h b/client/CServerHandler.h index 7ba5655b8..59c354415 100644 --- a/client/CServerHandler.h +++ b/client/CServerHandler.h @@ -146,7 +146,7 @@ public: void sendMessage(const std::string & txt) const override; void sendGuiAction(ui8 action) const override; void sendRestartGame() const override; - void sendStartGame(bool allowOnlyAI = true) const override; + void sendStartGame(bool allowOnlyAI = false) const override; void startGameplay(VCMI_LIB_WRAP_NAMESPACE(CGameState) * gameState = nullptr); void endGameplay(bool closeConnection = true, bool restart = false); diff --git a/client/lobby/CLobbyScreen.h b/client/lobby/CLobbyScreen.h index 8cebf7b2b..962547fa4 100644 --- a/client/lobby/CLobbyScreen.h +++ b/client/lobby/CLobbyScreen.h @@ -22,7 +22,7 @@ public: ~CLobbyScreen(); void toggleTab(std::shared_ptr tab) override; void startCampaign(); - void startScenario(bool allowOnlyAI = true); + void startScenario(bool allowOnlyAI = false); void toggleMode(bool host); void toggleChat();