Skip to content

Commit

Permalink
KDL3: fix shuffled animals not actually being random (#3060)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris authored Apr 1, 2024
1 parent f813a70 commit 24a03bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worlds/kdl3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ def pre_fill(self) -> None:
locations = [self.multiworld.get_location(spawn, self.player) for spawn in spawns]
items = [self.create_item(animal) for animal in animal_pool]
allstate = self.multiworld.get_all_state(False)
self.random.shuffle(locations)
self.random.shuffle(items)
fill_restrictive(self.multiworld, allstate, locations, items, True, True)
else:
animal_friends = animal_friend_spawns.copy()
Expand Down

0 comments on commit 24a03bc

Please sign in to comment.