mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
fixed bookmark usage in DoWhenCostPaid
This commit is contained in:
parent
55a8e34f7a
commit
b4fd4aab58
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue