Skip to content

Commit

Permalink
sc2: removing now-unnecessary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
EnvyDragon committed May 26, 2024
1 parent bc4eb57 commit ee06c61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions worlds/sc2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .options import (get_option_value, LocationInclusion, KerriganLevelItemDistribution,
KerriganPresence, KerriganPrimalStatus, kerrigan_unit_available, StarterUnit, SpearOfAdunPresence,
get_enabled_campaigns, SpearOfAdunAutonomouslyCastAbilityPresence, Starcraft2Options,
GrantStoryTech, GenericUpgradeResearch, get_enabled_races
GrantStoryTech, GenericUpgradeResearch,
)
from .pool_filter import filter_items
from .mission_tables import (
Expand Down Expand Up @@ -680,7 +680,6 @@ def fill_pool_with_kerrigan_levels(world: SC2World, item_pool: List[Item]):
if (world.options.kerrigan_presence.value not in kerrigan_unit_available
or total_levels == 0
or not kerrigan_missions
or SC2Race.ZERG not in get_enabled_races(world)
or (world.options.grant_story_levels and not kerrigan_build_missions)
):
return
Expand Down

0 comments on commit ee06c61

Please sign in to comment.