bug: ignore correct column for moving multiple cards

This commit is contained in:
ItsDrike 2024-12-06 18:38:25 +01:00
parent b2cad5ac14
commit 0bee5ddc12
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -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;
}