mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
GUI: fixed that Card Viewer can't open tokens list;
This commit is contained in:
parent
cfa1dffc1e
commit
1f68e4f9ba
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class PermanentView extends CardView {
|
||||||
this.attachedTo = permanent.getAttachedTo();
|
this.attachedTo = permanent.getAttachedTo();
|
||||||
|
|
||||||
// show face down cards to all players at the game end
|
// show face down cards to all players at the game end
|
||||||
boolean showFaceDownInfo = controlled || game.hasEnded();
|
boolean showFaceDownInfo = controlled || (game != null && game.hasEnded());
|
||||||
|
|
||||||
if (isToken()) {
|
if (isToken()) {
|
||||||
original = new CardView(((PermanentToken) permanent).getToken().copy(), (Game) null);
|
original = new CardView(((PermanentToken) permanent).getToken().copy(), (Game) null);
|
||||||
|
|
Loading…
Reference in a new issue