Skip to content

Commit

Permalink
Generate: Fix sphere calculation debug message (ArchipelagoMW#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Feb 22, 2024
1 parent ffdcb91 commit 9f0d736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,12 +1272,12 @@ def create_playthrough(self, create_paths: bool = True) -> None:
for location in sphere:
state.collect(location.item, True, location)

required_locations -= sphere

collection_spheres.append(sphere)

logging.debug('Calculated final sphere %i, containing %i of %i progress items.', len(collection_spheres),
len(sphere), len(required_locations))

required_locations -= sphere
if not sphere:
raise RuntimeError(f'Not all required items reachable. Unreachable locations: {required_locations}')

Expand Down

0 comments on commit 9f0d736

Please sign in to comment.