From c991e89d1a4b77ba92c8c19155ba8610bca4490a Mon Sep 17 00:00:00 2001 From: Ziktofel Date: Sun, 24 Dec 2023 01:13:42 +0100 Subject: [PATCH] Fix typo in pool filter filtering T3 items --- worlds/sc2/PoolFilter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/sc2/PoolFilter.py b/worlds/sc2/PoolFilter.py index 27b4665f25b2..c0def13df51e 100644 --- a/worlds/sc2/PoolFilter.py +++ b/worlds/sc2/PoolFilter.py @@ -410,10 +410,10 @@ def attempt_removal(item: Item) -> bool: inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.MUTALISK_CORRUPTOR_DEVOURER_ASPECT] inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.MUTALISK_CORRUPTOR_BROOD_LORD_ASPECT] inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.MUTALISK_CORRUPTOR_VIPER_ASPECT] - if not ItemNames.ROACH not in logical_inventory_set: + if ItemNames.ROACH not in logical_inventory_set: inventory = [item for item in inventory if item.name != ItemNames.ROACH_RAVAGER_ASPECT] inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.ROACH_RAVAGER_ASPECT] - if not ItemNames.HYDRALISK not in logical_inventory_set: + if ItemNames.HYDRALISK not in logical_inventory_set: inventory = [item for item in inventory if not item.name.endswith("(Hydralisk)")] inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.HYDRALISK_LURKER_ASPECT] inventory = [item for item in inventory if item_list[item.name].parent_item == ItemNames.HYDRALISK_IMPALER_ASPECT]