From 004a14759e8c99cf6aa122ac58ab90d25abf0218 Mon Sep 17 00:00:00 2001 From: Eirkei Date: Mon, 3 Oct 2016 11:32:32 +0200 Subject: [PATCH] Add correct targets to spells with modes - Fixes #2391 --- Mage.Common/src/mage/view/CardView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Common/src/mage/view/CardView.java b/Mage.Common/src/mage/view/CardView.java index 2c1aa4c5ae..69b27f15dc 100644 --- a/Mage.Common/src/mage/view/CardView.java +++ b/Mage.Common/src/mage/view/CardView.java @@ -324,7 +324,7 @@ public class CardView extends SimpleCardView { for (UUID modeId : spellAbility.getModes().getSelectedModes()) { Mode mode = spellAbility.getModes().get(modeId); if (mode.getTargets().size() > 0) { - setTargets(spellAbility.getTargets()); + setTargets(mode.getTargets()); } } }