CardView: look at game state of remembered card to get accurate zone

This commit is contained in:
Northmoc
2021-12-10 14:18:11 -05:00
parent 33086e8565
commit 1166e9fedd

View File

@@ -444,7 +444,7 @@ public class CardView extends GameEntityView {
if (o != null) {
if (o instanceof Card && c.isImmutable() && c.getName().contains("Perpetual Effect")) {
Card rc = (Card) o;
if (!rc.getZone().getZoneType().isHidden()) {
if (!rc.getGame().getCardState(rc).getZone().getZoneType().isHidden()) {
sb.append(o.toString());
sb.append("\r\n");
}