parent
0afbfd58ce
commit
8abefb1505
|
@ -1439,7 +1439,7 @@ bool Game::canPerformGameAction()
|
||||||
// - we have a game protocol
|
// - we have a game protocol
|
||||||
// - the game protocol is connected
|
// - the game protocol is connected
|
||||||
// - its not a bot action
|
// - 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)
|
void Game::setProtocolVersion(int version)
|
||||||
|
|
Loading…
Reference in New Issue