From 21e0084d9ec7a142edbf828bfe5cfff727027f76 Mon Sep 17 00:00:00 2001 From: gaithern Date: Wed, 20 Dec 2023 09:31:58 -0600 Subject: [PATCH] Update __init__.py --- worlds/lol/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/lol/__init__.py b/worlds/lol/__init__.py index af0548f848f5..33619f484192 100644 --- a/worlds/lol/__init__.py +++ b/worlds/lol/__init__.py @@ -86,5 +86,5 @@ def create_regions(self): def set_item_table(self): if len(self.game_item_table) == 0: self.game_item_table = get_items_by_category(str(self.get_setting("game_mode")), []).keys() - self.game_item_table = random.sample(self.game_item_table, int(self.get_setting("item_num"))) + self.game_item_table = random.sample(list(self.game_item_table), int(self.get_setting("item_num"))) self.game_item_table = self.game_item_table + list(get_items_by_category("Victory", []).keys()) \ No newline at end of file