- Fixed an issue with some cards still being shown an incorrect (transformed) image in a "choose a card name" dialog box in Desktop GUI (e.g. Treasure Map shown as Treasure Cove).

This commit is contained in:
Agetian
2018-08-07 07:47:52 +03:00
parent a9ade92946
commit b91261bc06

View File

@@ -167,7 +167,7 @@ public class GuiChoose {
paper = FModel.getMagicDb().getVariantCards().getUniqueByName(face.getName());
}
if (paper != null && !paper.getName().equals(face.getName())) {
if (paper != null) {
Card c = Card.getCardForUi(paper);
boolean foundState = false;
for (CardStateName cs : c.getStates()) {
@@ -181,8 +181,6 @@ public class GuiChoose {
if (!foundState) {
matchUI.setCard(paper);
}
} else {
matchUI.setCard(paper);
}
return;