From acfe00d6db5dda7e01c63eb503be65d74e6f75cd Mon Sep 17 00:00:00 2001 From: Sloth Date: Tue, 4 Feb 2014 19:55:45 +0000 Subject: [PATCH] - Fixed a bug in ChooseSourceAi. --- forge-game/src/main/java/forge/ai/ability/ChooseSourceAi.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forge-game/src/main/java/forge/ai/ability/ChooseSourceAi.java b/forge-game/src/main/java/forge/ai/ability/ChooseSourceAi.java index 61e398e81ca..44eac4b4a7a 100644 --- a/forge-game/src/main/java/forge/ai/ability/ChooseSourceAi.java +++ b/forge-game/src/main/java/forge/ai/ability/ChooseSourceAi.java @@ -82,8 +82,7 @@ public class ChooseSourceAi extends SpellAbilityAi { } final Card threatSource = topStack.getSourceCard(); - List objects = getTargets(sa); - + List objects = getTargets(topStack); if (!topStack.usesTargeting() && topStack.hasParam("ValidPlayers") && !topStack.hasParam("Defined")) { objects = AbilityUtils.getDefinedPlayers(threatSource, topStack.getParam("ValidPlayers"), topStack); }