Fixed Thieves' Auction when player leaves the game before it resolves (fixes
@@ -115,8 +115,12 @@ class ThievesAuctionEffect extends OneShotEffect {
if (player.choose(Outcome.PutCardInPlay, exiledCards, target, game)) {
// and puts it onto the battlefield tapped under their control.
Card chosenCard = exiledCards.get(target.getFirstTarget(), game);
+ if (chosenCard != null) {
player.moveCards(chosenCard, Zone.BATTLEFIELD, source, game, true, false, false, null);
+ }
exiledCards.remove(chosenCard);
+ } else {
+ break;
}
}
// Repeat this process until all cards exiled this way have been chosen.
