From 2ce6343859ab038dbfaa0ef4ca964e5bb866c55b Mon Sep 17 00:00:00 2001 From: pepperpow Date: Thu, 21 Jan 2021 04:39:33 -0600 Subject: [PATCH] Changed isnot statement --- 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():