Fixed a problem with shortcutting a choice of 0.

This commit is contained in:
marcins78@gmail.com
2012-12-16 21:39:39 +00:00
parent b6ceaaf0c9
commit 8e3e016005

View File

@@ -76,7 +76,7 @@ public abstract class ChooseActiveCardsEffect extends AbstractEffect {
if (_shortcut && maximum == 0) {
cardsSelected(game, Collections.<PhysicalCard>emptySet());
} if (_shortcut && matchingCards.size() == minimum) {
} else if (_shortcut && matchingCards.size() == minimum) {
if (_source != null && matchingCards.size() > 0)
game.getGameState().cardAffectsCard(_playerId, _source, matchingCards);
cardsSelected(game, matchingCards);