Add correct targets to spells with modes - Fixes #2391

This commit is contained in:
Eirkei 2016-10-03 11:32:32 +02:00
parent 16027d5fef
commit 004a14759e

View file

@ -324,7 +324,7 @@ public class CardView extends SimpleCardView {
for (UUID modeId : spellAbility.getModes().getSelectedModes()) { for (UUID modeId : spellAbility.getModes().getSelectedModes()) {
Mode mode = spellAbility.getModes().get(modeId); Mode mode = spellAbility.getModes().get(modeId);
if (mode.getTargets().size() > 0) { if (mode.getTargets().size() > 0) {
setTargets(spellAbility.getTargets()); setTargets(mode.getTargets());
} }
} }
} }