The Witness: Fix unreachable locations on certain settings (Keep PP2 EP, Theater Flowers EP) (#2499)

Basically, the function for "checking entrances both ways" only checked one way. This resulted in unreachable locations.

This affects Expert seeds with (non-remote doors and specific types of EP Shuffle), as well as seeds with non-remote doors + specific types of disabled panels + specific types of EP Shuffle.

Also includes two changes that makes spoiler logs nicer (not creating unnecessary events).
This commit is contained in:
NewSoupVi
2023-12-07 06:36:46 +01:00
committed by GitHub
parent 87252c14aa
commit 3fa01a41cd
3 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ class WitnessRegions:
source_region.exits.append(connection)
connection.connect(target_region)
self.created_entrances[(source, target)].append(connection)
self.created_entrances[source, target].append(connection)
# Register any necessary indirect connections
mentioned_regions = {