Skip to content

Commit

Permalink
Lufia2: Fix Nondeterministic Behavior #4243
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Nov 25, 2024
1 parent 41a7d7e commit 6073d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/lufia2ac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def create_regions(self) -> None:
L2ACItem("Progressive chest access", ItemClassification.progression, None, self.player))
chest_access.show_in_spoiler = False
ancient_dungeon.locations.append(chest_access)
for iris in self.item_name_groups["Iris treasures"]:
for iris in sorted(self.item_name_groups["Iris treasures"]):
treasure_name: str = f"Iris treasure {self.item_name_to_id[iris] - self.item_name_to_id['Iris sword'] + 1}"
iris_treasure: Location = \
L2ACLocation(self.player, treasure_name, self.location_name_to_id[treasure_name], ancient_dungeon)
Expand Down

0 comments on commit 6073d5e

Please sign in to comment.