- Somewhat better implementation for getArt in ConquestRegion.

This commit is contained in:
Agetian
2018-04-27 10:53:06 +03:00
parent aa11704caa
commit 98bc1fb01a

View File

@@ -53,12 +53,13 @@ public class ConquestRegion {
if (pc == null) {
pc = FModel.getMagicDb().getCommonCards().getCard(artCardName);
if (!pc.getName().equals(artCardName) && Card.fromPaperCard(pc, null).hasAlternateState()) {
return GuiBase.getInterface().getCardArt(pc, true);
art = GuiBase.getInterface().getCardArt(pc, true);
}
} else {
art = GuiBase.getInterface().getCardArt(pc);
}
}
art = GuiBase.getInterface().getCardArt(pc);
}
return art;
}