mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
GameSignals: emit the gameRackChanged() signal even if this is not the last turn
This commit is contained in:
parent
7a6ca367fb
commit
c76c84e059
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ void GameSignals::notifyGameUpdated()
|
|||
emit newTurn(currTurn);
|
||||
}
|
||||
// Emit the gameRackChanged() signal if needed
|
||||
if (isLastTurn && m_game->getCurrentRack().toString(PlayedRack::RACK_EXTRA) != m_lastGameRack.toString(PlayedRack::RACK_EXTRA))
|
||||
if (m_game->getCurrentRack().toString(PlayedRack::RACK_EXTRA) != m_lastGameRack.toString(PlayedRack::RACK_EXTRA))
|
||||
{
|
||||
m_lastGameRack = m_game->getCurrentRack();
|
||||
LOG_DEBUG("Emitting gameRackChanged(" << lfw(m_lastGameRack.toString()) << ")");
|
||||
|
|
Loading…
Reference in a new issue