forked from External/mage
Refactored restore state code, added additional error check for mana undo param;
This commit is contained in:
parent
2eeefd91ef
commit
83f7ae377a
12 changed files with 64 additions and 40 deletions
|
|
@ -549,7 +549,7 @@ public final class ManaUtil {
|
|||
}
|
||||
|
||||
if (!payed) {
|
||||
game.restoreState(bookmark, restoreContextName);
|
||||
player.restoreState(bookmark, restoreContextName, game);
|
||||
game.fireUpdatePlayersEvent();
|
||||
} else {
|
||||
game.removeBookmark(bookmark);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue