fixed Gyruda, Doom of Depths not getting cards back from exile

This commit is contained in:
Evan Kranzler 2020-04-19 00:10:12 -04:00
parent 4c0f7a3a71
commit 4a5e3e6482

View file

@ -112,7 +112,8 @@ class GyrudaDoomOfDepthsEffect extends OneShotEffect {
.flatMap(Collection::stream)
.forEach(cards::add);
controller.moveCards(cards, Zone.GRAVEYARD, source, game);
cards.removeIf(cardId -> game.getState().getZone(cardId) != Zone.GRAVEYARD);
cards.removeIf(cardId -> game.getState().getZone(cardId) != Zone.GRAVEYARD
&& game.getState().getZone(cardId) != Zone.EXILED);
if (cards.isEmpty()) {
return true;
}