mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- 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:
@@ -167,7 +167,7 @@ public class GuiChoose {
|
|||||||
paper = FModel.getMagicDb().getVariantCards().getUniqueByName(face.getName());
|
paper = FModel.getMagicDb().getVariantCards().getUniqueByName(face.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (paper != null && !paper.getName().equals(face.getName())) {
|
if (paper != null) {
|
||||||
Card c = Card.getCardForUi(paper);
|
Card c = Card.getCardForUi(paper);
|
||||||
boolean foundState = false;
|
boolean foundState = false;
|
||||||
for (CardStateName cs : c.getStates()) {
|
for (CardStateName cs : c.getStates()) {
|
||||||
@@ -181,8 +181,6 @@ public class GuiChoose {
|
|||||||
if (!foundState) {
|
if (!foundState) {
|
||||||
matchUI.setCard(paper);
|
matchUI.setCard(paper);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
matchUI.setCard(paper);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user