mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-01 08:30:20 -07:00
Fix #225: Multiples of cards are now sent to deckstats.
This commit is contained in:
@@ -88,7 +88,11 @@ struct CopyIfNotAToken {
|
||||
const DecklistCardNode *card
|
||||
) const {
|
||||
if (!cardDatabase.getCard(card->getName())->getIsToken()) {
|
||||
destination.addCard(card->getName(), node->getName());
|
||||
DecklistCardNode *addedCard = destination.addCard(
|
||||
card->getName(),
|
||||
node->getName()
|
||||
);
|
||||
addedCard->setNumber(card->getNumber());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user