mirror of
https://github.com/correl/mage.git
synced 2025-04-09 09:11:05 -09:00
* Game: fixed game freeze on mulligan phase and disconnected player;
This commit is contained in:
parent
82347be782
commit
7e9d4417f6
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class LondonMulligan extends Mulligan {
|
|||
}
|
||||
player.drawCards(numCards, null, game);
|
||||
|
||||
while (player.getHand().size() > newHandSize) {
|
||||
while (player.canRespond() && player.getHand().size() > newHandSize) {
|
||||
Target target = new TargetCardInHand(new FilterCard("card (" + (player.getHand().size() - newHandSize) + " more) to put on the bottom of your library"));
|
||||
player.chooseTarget(Outcome.Discard, target, null, game);
|
||||
player.putCardsOnBottomOfLibrary(new CardsImpl(target.getTargets()), game, null, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue