Skip to content

Commit

Permalink
Fix typo in pool filter filtering T3 items
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Dec 24, 2023
1 parent fd11a04 commit c991e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/sc2/PoolFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c991e89

Please sign in to comment.