mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Fixed a game locking problem with the day/night button of transformable cards (fixes #2503).
This commit is contained in:
parent
8b288c353f
commit
6b58c18520
1 changed files with 4 additions and 2 deletions
|
|
@ -564,8 +564,10 @@ public abstract class CardPanel extends MagePermanent implements MouseListener,
|
|||
} else {
|
||||
transformIcon = ImageManagerImpl.getInstance().getDayImage();
|
||||
}
|
||||
dayNightButton.setVisible(!isPermanent);
|
||||
dayNightButton.setIcon(new ImageIcon(transformIcon));
|
||||
if (dayNightButton != null) {
|
||||
dayNightButton.setVisible(!isPermanent);
|
||||
dayNightButton.setIcon(new ImageIcon(transformIcon));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue