* Fixed a bug that turn rollback did not work correctly, if player was in a buy cost process that included possible rollback (fixes #4510).

This commit is contained in:
LevelX2 2018-02-12 11:41:01 +01:00
parent fc8604e449
commit 6d848e2059
3 changed files with 24 additions and 13 deletions

View file

@ -2953,6 +2953,7 @@ public abstract class GameImpl implements Game, Serializable {
executingRollback = true;
for (Player playerObject : getPlayers().values()) {
if (playerObject.isHuman() && playerObject.isInGame()) {
playerObject.resetStoredBookmark(this);
playerObject.abort();
playerObject.resetPlayerPassedActions();
}