From 0bee5ddc12b35a1fa69bedf92da8c305e04a11ec Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 6 Dec 2024 18:38:25 +0100 Subject: [PATCH] bug: ignore correct column for moving multiple cards --- src/gamestate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }