From 24a03bc8b6b406c0925eedf415dcef47e17fdbaa Mon Sep 17 00:00:00 2001 From: Silvris <58583688+Silvris@users.noreply.github.com> Date: Mon, 1 Apr 2024 08:02:26 -0500 Subject: [PATCH] KDL3: fix shuffled animals not actually being random (#3060) --- worlds/kdl3/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worlds/kdl3/__init__.py b/worlds/kdl3/__init__.py index 6d0c196ab1e6..be299f6f2c12 100644 --- a/worlds/kdl3/__init__.py +++ b/worlds/kdl3/__init__.py @@ -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()