Commit 889c9ca9 authored by nanahira's avatar nanahira

fix

parent dccbce5e
......@@ -160,7 +160,7 @@ int DeckManager::CheckSpellCount(Deck& deck) {
int spellcount = 0;
CardData cd;
for (auto cit : deck.main) {
if (cit->second.type & TYPE_SPELL)
if (cit->second.type & (TYPE_SPELL | TYPE_TRAP))
spellcount++;
}
return spellcount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment