Skip to content

Commit

Permalink
SC2: Don't Filter Excluded Victory Locations (#3018)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchav authored Mar 28, 2024
1 parent de86062 commit eb66886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sc2/Locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ def get_locations(world: Optional[World]) -> Tuple[LocationData, ...]:
plando_locations = get_plando_locations(world)
exclude_locations = get_option_value(world, "exclude_locations")
location_table = [location for location in location_table
if (LocationType is LocationType.VICTORY or location.name not in exclude_locations)
if (location.type is LocationType.VICTORY or location.name not in exclude_locations)
and location.type not in excluded_location_types
or location.name in plando_locations]
for i, location_data in enumerate(location_table):
Expand Down

0 comments on commit eb66886

Please sign in to comment.