Skip to content

Commit

Permalink
These aren't properties
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl committed Nov 20, 2021
1 parent fc1a86d commit 36f5cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fill.py
Expand Up @@ -392,7 +392,7 @@ def fill_restrictive(window, worlds, base_search, locations, itempool, count=-1)
if worlds[0].settings.reachable_locations == 'goals':
# If this item is required for a goal, it must be placed somewhere reachable.
# We also need to check to make sure the game is beatable, since custom goals might not imply that.
predicate = lambda state: state.won and state.has_all_item_goals
predicate = lambda state: state.won() and state.has_all_item_goals()
else:
# If the game is not beatable without this item, it must be placed somewhere reachable.
predicate = State.won
Expand Down

0 comments on commit 36f5cb8

Please sign in to comment.