mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fixed Thieves' Auction when player leaves the game before it resolves (fixes #3648)
This commit is contained in:
parent
ab3cd76d3e
commit
0fe8143a9c
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
player.moveCards(chosenCard, Zone.BATTLEFIELD, source, game, true, false, false, null);
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue