Additional to #6937

This commit is contained in:
Oleg Agafonov 2020-08-04 22:39:12 +04:00
parent bb148c9cb5
commit 2a7ac3fc9e

View file

@ -1334,6 +1334,7 @@ public abstract class PlayerImpl implements Player, Serializable {
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.ACTIVATE_ABILITY,
ability.getId(), ability.getSourceId(), playerId))) {
int bookmark = game.bookmarkState();
setStoredBookmark(bookmark); // move global bookmark to current state (if you activated mana before then you can't rollback it)
ability.newId();
ability.setControllerId(playerId);
game.getStack().push(new StackAbility(ability, playerId));