Windows fixes

This commit is contained in:
Lukas Wölfer
2020-02-12 01:49:16 +01:00
parent 4cd25719e2
commit a624a06f82
4 changed files with 10 additions and 9 deletions

View File

@@ -130,7 +130,7 @@ def possible_goal_move_actions(
if not (card.number == search_board.getGoal(card.suit) + 1):
continue
obvious = all(
search_board.getGoal(other_suit) >= search_board.getGoal(card.suit)
search_board.getGoal(other_suit) >= card.number - 1
for other_suit in set(board.NumberCard.Suit) - {card.suit}
)
yield board_actions.GoalAction(