diff --git a/src/gamestate.cpp b/src/gamestate.cpp index e232f07..8f9293e 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp @@ -329,7 +329,7 @@ bool GameState::autoMoveColumnCard(int columnId, int cardIndex) { selectedCards.append(curCol->card()); } - if (!tryAutoMoveMultipleCards(selectedCards, cardIndex)) { + if (!tryAutoMoveMultipleCards(selectedCards, columnId)) { qDebug() << "> Moving failed, no available move found"; return false; }