This commit is contained in:
Konrad Kuśnierz 2015-07-19 10:27:06 +02:00
parent 0afbfd58ce
commit 8abefb1505
1 changed files with 1 additions and 1 deletions

View File

@ -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_dead && m_protocolGame && m_protocolGame->isConnected() && checkBotProtection();
return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkStackTrace();
}
void Game::setProtocolVersion(int version)