condition for no targets is target.size() == 1 due to automatic addition of MagicTargetNone
parent
8a1f8b686b
commit
eeee24379b
|
@ -454,8 +454,8 @@ public class MagicTargetChoice extends MagicChoice {
|
|||
final MagicPlayer player,
|
||||
final MagicSource source) {
|
||||
Collection<MagicTarget> targets = game.getLegalTargets(player,source,this,targetHint);
|
||||
// try without hint
|
||||
if (targets.isEmpty() && targetHint != MagicTargetHint.None) {
|
||||
// disregard hint if only target is MagicTargetNone
|
||||
if (targets.size() == 1 && targetHint != MagicTargetHint.None) {
|
||||
targets = game.getLegalTargets(player,source,this,MagicTargetHint.None);
|
||||
}
|
||||
if (game.getFastChoices()) {
|
||||
|
|
Loading…
Reference in New Issue