mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08: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)) {
|
if (cost.pay(source, game, source.getSourceId(), player.getId(), false)) {
|
||||||
game.fireReflexiveTriggeredAbility(ability, source);
|
game.fireReflexiveTriggeredAbility(ability, source);
|
||||||
player.resetStoredBookmark(game);
|
player.resetStoredBookmark(game);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
game.restoreState(bookmark, DoWhenCostPaid.class.getName());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue