mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Add correct targets to spells with modes - Fixes #2391
This commit is contained in:
parent
16027d5fef
commit
004a14759e
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue