From 0b6acb132de44afadc7720c423931c68cb1fbce1 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:12:37 +0100 Subject: [PATCH] The Witness: Fix an instance of multiworld.random being used (#2630) o_o --- worlds/witness/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/witness/__init__.py b/worlds/witness/__init__.py index c2d2311c1537..6360c33aefb9 100644 --- a/worlds/witness/__init__.py +++ b/worlds/witness/__init__.py @@ -143,7 +143,7 @@ def create_regions(self): # Pick an early item to place on the tutorial gate. early_items = [item for item in self.items.get_early_items() if item in self.items.get_mandatory_items()] if early_items: - random_early_item = self.multiworld.random.choice(early_items) + random_early_item = self.random.choice(early_items) if self.options.puzzle_randomization == 1: # In Expert, only tag the item as early, rather than forcing it onto the gate. self.multiworld.local_early_items[self.player][random_early_item] = 1