mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
KDL3: fix shuffled animals not actually being random (#3060)
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user