forked from External/mage
* Fixed a problem with UNDO/rollback setting the wrong active player (fixes #2046).
This commit is contained in:
parent
1c0a4a7532
commit
fd60e43a03
2 changed files with 4 additions and 3 deletions
|
|
@ -204,7 +204,7 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
|
||||
public void restore(GameState state) {
|
||||
this.activePlayerId = state.activePlayerId;
|
||||
this.playerList.setCurrent(state.activePlayerId);
|
||||
this.playerList.setCurrent(state.playerList.get());
|
||||
this.priorityPlayerId = state.priorityPlayerId;
|
||||
this.stack = state.stack;
|
||||
this.command = state.command;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue