Skip to content

Commit 24a03bc

Browse files
authored
KDL3: fix shuffled animals not actually being random (ArchipelagoMW#3060)
1 parent f813a70 commit 24a03bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

worlds/kdl3/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def pre_fill(self) -> None:
206206
locations = [self.multiworld.get_location(spawn, self.player) for spawn in spawns]
207207
items = [self.create_item(animal) for animal in animal_pool]
208208
allstate = self.multiworld.get_all_state(False)
209+
self.random.shuffle(locations)
210+
self.random.shuffle(items)
209211
fill_restrictive(self.multiworld, allstate, locations, items, True, True)
210212
else:
211213
animal_friends = animal_friend_spawns.copy()

0 commit comments

Comments
 (0)