* Fixed F10 that it stops on old stack object instead new only;

This commit is contained in:
Oleg Agafonov 2019-03-30 01:03:59 +04:00
parent 7d1cdb7b85
commit c9f216889b

View file

@ -875,7 +875,7 @@ public class HumanPlayer extends PlayerImpl {
} else {
// non empty stack
boolean haveNewObjectsOnStack = Objects.equals(dateLastAddedToStack, game.getStack().getDateLastAdded());
boolean haveNewObjectsOnStack = !Objects.equals(dateLastAddedToStack, game.getStack().getDateLastAdded());
dateLastAddedToStack = game.getStack().getDateLastAdded();
if (passedUntilStackResolved) {
if (haveNewObjectsOnStack