From f87da18eadf6fbc95b139e8510230c875d651b77 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 20 Jan 2021 13:02:34 -0800 Subject: [PATCH] Fix coding error --- Shops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shops.py b/Shops.py index 12c585a8..33cb080f 100644 --- a/Shops.py +++ b/Shops.py @@ -215,7 +215,7 @@ def create_shops(world, player: int): world.random.shuffle(single_purchase_slots) if 'g' in option or 'f' in option: - default_shop_table = [i for l in [shop_generation_types[x] for x in ['arrows', 'bombs', 'potions', 'shields', 'bottle'] if not world.retro[player] or x is not 'arrows'] for i in l] + default_shop_table = [i for l in [shop_generation_types[x] for x in ['arrows', 'bombs', 'potions', 'shields', 'bottle'] if not world.retro[player] or x != 'arrows'] for i in l] new_basic_shop = world.random.sample(default_shop_table, k=3) new_dark_shop = world.random.sample(default_shop_table, k=3) for name, shop in player_shop_table.items():