- Fixed possibility of getting stuck in attachAuraOnIndirectEnterBattlefield.

This commit is contained in:
Sloth
2012-11-12 09:07:42 +00:00
parent 4f8cec38b1
commit 120ae5ba4a

View File

@@ -277,6 +277,9 @@ public class AttachEffect extends SpellEffect {
} else {
List<Card> list = Singletons.getModel().getGame().getCardsIn(tgt.getZone());
list = CardLists.getValidCards(list, tgt.getValidTgts(), aura.getActivatingPlayer(), source);
if (list.isEmpty()) {
return false;
}
final Object o = GuiChoose.one(source + " - Select a card to attach to.", list);
if (o instanceof Card) {