Skip to content

Commit

Permalink
Excluded locations is no longer a set since you can't append to a set…
Browse files Browse the repository at this point in the history
… with +=
  • Loading branch information
digiholic committed Oct 23, 2024
1 parent be1635a commit a7776a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/mmbn3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class MMBN3World(World):
item_name_to_id = {name: data.code for name, data in item_table.items()}
location_name_to_id = {loc_data.name: loc_data.id for loc_data in all_locations}

excluded_locations: typing.Set[str]
excluded_locations: typing.List[str]
item_frequencies: typing.Dict[str, int]

location_name_groups = location_groups
Expand All @@ -78,7 +78,7 @@ def generate_early(self) -> None:
if self.options.extra_ranks > 0:
self.item_frequencies[ItemName.Progressive_Undernet_Rank] = 8 + self.options.extra_ranks

self.excluded_locations = set()
self.excluded_locations = []
if not self.options.include_secret:
self.excluded_locations += secret_locations
if not self.options.include_jobs:
Expand Down

0 comments on commit a7776a2

Please sign in to comment.