OoT: fixed a bug where free_scarecrow and entrance shuffles could not be rolled together

This commit is contained in:
espeon65536 2021-11-12 08:20:40 -06:00
parent ca8f6c2439
commit 2f9e530fd8
1 changed files with 3 additions and 0 deletions

View File

@ -951,6 +951,9 @@ class OOTWorld(World):
# Remove all events and checked locations # Remove all events and checked locations
all_state.locations_checked = {loc for loc in all_state.locations_checked if loc.player != self.player} all_state.locations_checked = {loc for loc in all_state.locations_checked if loc.player != self.player}
all_state.events = {loc for loc in all_state.events if loc.player != self.player} all_state.events = {loc for loc in all_state.events if loc.player != self.player}
# If free_scarecrow give Scarecrow Song
if self.free_scarecrow:
all_state.collect(self.create_item("Scarecrow Song"), event=True)
# Invalidate caches # Invalidate caches
all_state.child_reachable_regions[self.player] = set() all_state.child_reachable_regions[self.player] = set()