Using ability UUID for stack view as a key for cards added on the panel.

This commit is contained in:
magenoxx 2010-12-08 17:59:55 +00:00
parent 14b8069afc
commit e45a8ad1e0
2 changed files with 5 additions and 0 deletions

View file

@ -96,6 +96,7 @@ public class Cards extends javax.swing.JPanel {
tmp.overrideRules(card.getRules());
tmp.setIsAbility(true);
tmp.overrideTargets(card.getTargets());
tmp.overrideId(card.getId());
card = tmp;
}
if (!cards.containsKey(card.getId())) {