Browse Source

Revert "Auxiliary commit to revert individual files from fb4db41891e157f4f7d72ee759141754d2df680c"

This reverts commit 46d35541b453b6c026c457bf0c788f79311968b3.
nordsoft 2 years ago
parent
commit
e28dd128e0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      client/CServerHandler.h
  2. 1 1
      client/lobby/CLobbyScreen.h

+ 1 - 1
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);

+ 1 - 1
client/lobby/CLobbyScreen.h

@@ -22,7 +22,7 @@ public:
 	~CLobbyScreen();
 	void toggleTab(std::shared_ptr<CIntObject> tab) override;
 	void startCampaign();
-	void startScenario(bool allowOnlyAI = true);
+	void startScenario(bool allowOnlyAI = false);
 	void toggleMode(bool host);
 	void toggleChat();