From 32ef454468ed2a49fdc75e3f53cd7332cee6ec8a Mon Sep 17 00:00:00 2001 From: Sloth Date: Thu, 6 Oct 2011 16:26:56 +0000 Subject: [PATCH] - Lands that become creatures will now always be moved to the front row. --- src/main/java/arcane/ui/PlayArea.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/arcane/ui/PlayArea.java b/src/main/java/arcane/ui/PlayArea.java index 85001d22b46..58385b81d2b 100644 --- a/src/main/java/arcane/ui/PlayArea.java +++ b/src/main/java/arcane/ui/PlayArea.java @@ -68,7 +68,7 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen outerLoop: // for (CardPanel panel : cardPanels) { - if (!panel.gameCard.isLand()) continue; + if (!panel.gameCard.isLand() || panel.gameCard.isCreature()) continue; int insertIndex = -1; @@ -76,7 +76,7 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen for (int i = 0, n = allLands.size(); i < n; i++) { Stack stack = allLands.get(i); CardPanel firstPanel = stack.get(0); - if (firstPanel.gameCard.getName().equals(panel.gameCard.getName()) && !panel.gameCard.isCreature()) { + if (firstPanel.gameCard.getName().equals(panel.gameCard.getName()) ) { if (!firstPanel.attachedPanels.isEmpty() || firstPanel.gameCard.isEnchanted()) { // Put this land to the left of lands with the same name and attachments. insertIndex = i;