Convert string to string list.

Took 2 minutes
This commit is contained in:
Lukas Brübach 2025-11-10 13:14:47 +01:00
parent 519b428629
commit d1eab4b41d

View file

@ -84,7 +84,7 @@ QList<ExactCard> VisualDeckEditorSampleHandWidget::getRandomCards(int amountToGe
if (!decklist)
return randomCards;
QList<DecklistCardNode *> cardsInDeck = decklist->getCardNodes(DECK_ZONE_MAIN);
QList<DecklistCardNode *> cardsInDeck = decklist->getCardNodes({DECK_ZONE_MAIN});
// Collect all cards in the main deck, allowing duplicates based on their count
for (auto currentCard : cardsInDeck) {