Skip to content

Commit

Permalink
don't replace pre picked panels
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Aug 20, 2024
1 parent 96cb2f8 commit 82bded2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions worlds/witness/entity_hunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ def _replace_unfair_hunt_entities_with_good_hunt_entities(self) -> None:
if good_entity in self.HUNT_ENTITIES or good_entity not in self.ALL_ELIGIBLE_ENTITIES:
continue

# ... and it's not a forced pick that should stay the same ...
if bad_entitiy in self.PRE_PICKED_HUNT_ENTITIES:
continue

# ... replace the bad entity with the good entity.
self.HUNT_ENTITIES.remove(bad_entitiy)
self.HUNT_ENTITIES.add(good_entity)
Expand Down

0 comments on commit 82bded2

Please sign in to comment.