Skip to content

Commit

Permalink
Adventure: Fix iterable copy error when freeincarnate_max is tuned low (
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticePS authored and Jouramie committed Feb 28, 2024
1 parent b165672 commit b4f7c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/adventure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def pre_fill(self):
overworld_locations_copy = overworld.locations.copy()
all_locations = self.multiworld.get_locations(self.player)

locations_copy = all_locations.copy()
locations_copy = list(all_locations)
for loc in all_locations:
if loc.item is not None or loc.progress_type != LocationProgressType.DEFAULT:
locations_copy.remove(loc)
Expand Down

0 comments on commit b4f7c5b

Please sign in to comment.