mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08: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());
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user