Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
68ac8d1a
Commit
68ac8d1a
authored
Jul 23, 2014
by
Waleed Khan
Browse files
Fix #225: Multiples of cards are now sent to deckstats.
parent
feaa3f50
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/deckstats_interface.cpp
View file @
68ac8d1a
...
...
@@ -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
());
}
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment