* Fixed a problem with UNDO/rollback setting the wrong active player (fixes #2046).

This commit is contained in:
LevelX2 2016-07-03 18:14:18 +02:00
parent 1c0a4a7532
commit fd60e43a03
2 changed files with 4 additions and 3 deletions

View file

@ -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;