Skip to content

Commit

Permalink
Merge branch 'area_hint_none_fix' into apworld_variety_panelhunt_3
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Aug 30, 2024
2 parents 4c3ffb1 + 54b50b1 commit 0c590d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worlds/witness/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ def word_area_hint(world: "WitnessWorld", hinted_area: str, area_items: List[Ite
any local lasers to be found in this area.
"""

area_items = [item for item in area_items if item is not None]

local_progression = sum(item.player == world.player and item.advancement for item in area_items)
non_local_progression = sum(item.player != world.player and item.advancement for item in area_items)

Expand Down

0 comments on commit 0c590d6

Please sign in to comment.