Skip to content

Commit

Permalink
Fix test as Overseer morphs from Overlord
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Jun 14, 2024
1 parent dfe1315 commit 491b04d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worlds/sc2/test/test_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ def test_excluding_zerg_units_with_morphling_disabled_should_exclude_aspects(sel
itempool = [item.name for item in self.multiworld.itempool]
self.assertTrue(itempool)
aspects_in_pool = list(set(itempool).intersection(set(item_groups.zerg_morphs)))
if item_names.OVERLORD_OVERSEER_ASPECT in aspects_in_pool:
# Overseer morphs from Overlord, that's available always
aspects_in_pool.remove(item_names.OVERLORD_OVERSEER_ASPECT)
self.assertFalse(aspects_in_pool)
units_in_pool = list(set(itempool).intersection(set(item_groups.zerg_units))
.difference(set(item_groups.zerg_morphs)))
Expand Down

0 comments on commit 491b04d

Please sign in to comment.