concede on mulligan handled

This commit is contained in:
Maxmtg
2013-05-29 19:16:19 +00:00
parent 724e4e87ac
commit 5c6fb2d279

View File

@@ -1545,7 +1545,11 @@ public class GameAction {
if( hasKept[i]) continue;
Player p = whoCanMulligan.get(i);
List<Card> toMulligan = p.canMulligan() ? p.getController().getCardsToMulligan(isCommander, firstPlayer) : null;
List<Card> toMulligan = p.canMulligan() ? p.getController().getCardsToMulligan(isCommander, firstPlayer) : null;
if ( game.isGameOver()) // conceded on mulligan prompt
return;
if ( toMulligan != null && !toMulligan.isEmpty()) {
if( !isCommander ) {
toMulligan = new ArrayList<Card>(p.getCardsIn(ZoneType.Hand));