From 4591a378442a5791f96be45a65de7b90694237b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Ku=C5=9Bnierz?= Date: Sun, 19 Jul 2015 10:33:55 +0200 Subject: [PATCH] My bad, wrong function name. --- src/client/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index fb114b78..dbe7bfc6 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1439,7 +1439,7 @@ bool Game::canPerformGameAction() // - we have a game protocol // - the game protocol is connected // - its not a bot action - return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkStackTrace(); + return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkBotProtection(); } void Game::setProtocolVersion(int version)