KDL3: fix shuffled animals not actually being random (#3060)
This commit is contained in:
parent
f813a7005f
commit
24a03bc8b6
|
@ -206,6 +206,8 @@ class KDL3World(World):
|
||||||
locations = [self.multiworld.get_location(spawn, self.player) for spawn in spawns]
|
locations = [self.multiworld.get_location(spawn, self.player) for spawn in spawns]
|
||||||
items = [self.create_item(animal) for animal in animal_pool]
|
items = [self.create_item(animal) for animal in animal_pool]
|
||||||
allstate = self.multiworld.get_all_state(False)
|
allstate = self.multiworld.get_all_state(False)
|
||||||
|
self.random.shuffle(locations)
|
||||||
|
self.random.shuffle(items)
|
||||||
fill_restrictive(self.multiworld, allstate, locations, items, True, True)
|
fill_restrictive(self.multiworld, allstate, locations, items, True, True)
|
||||||
else:
|
else:
|
||||||
animal_friends = animal_friend_spawns.copy()
|
animal_friends = animal_friend_spawns.copy()
|
||||||
|
|
Loading…
Reference in New Issue