From b3d2c2237346c546dd357d0eb52d46154f1cccba Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Fri, 10 Sep 2021 22:33:13 -0500 Subject: [PATCH] accidentally optimized a little too much --- worlds/oot/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index aa434e0d..dbc68013 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -647,8 +647,8 @@ class OOTWorld(World): impa = self.world.get_location("Song from Impa", self.player) if self.skip_child_zelda and impa.item is None: from .SaveContext import SaveContext - item_to_place = self.world.random.choice(item for item in self.world.itempool if - item.player == self.player and item.name in SaveContext.giveable_items) + item_to_place = self.world.random.choice(list(item for item in self.world.itempool if + item.player == self.player and item.name in SaveContext.giveable_items)) impa.place_locked_item(item_to_place) self.world.itempool.remove(item_to_place)