fixed bookmark usage in DoWhenCostPaid

This commit is contained in:
Evan Kranzler 2020-05-05 10:04:07 -04:00
parent 55a8e34f7a
commit b4fd4aab58

View file

@ -58,7 +58,9 @@ public class DoWhenCostPaid extends OneShotEffect {
if (cost.pay(source, game, source.getSourceId(), player.getId(), false)) {
game.fireReflexiveTriggeredAbility(ability, source);
player.resetStoredBookmark(game);
return true;
}
game.restoreState(bookmark, DoWhenCostPaid.class.getName());
return true;
}