* Some fixes to cardState handling concerning card rules.

This commit is contained in:
LevelX2 2015-03-11 21:03:42 +01:00
parent c7c594ca3c
commit 84e2ecb8ef
2 changed files with 12 additions and 4 deletions

View file

@ -198,7 +198,11 @@ public class CardView extends SimpleCardView {
this.name = card.getImageName();
this.displayName = card.getName();
this.rules = card.getRules(game);
if (game == null) {
this.rules = card.getRules();
} else {
this.rules = card.getRules(game);
}
this.manaCost = card.getManaCost().getSymbols();
this.convertedManaCost = card.getManaCost().convertedManaCost();