SC2: Don't Filter Excluded Victory Locations (#3018)

This commit is contained in:
Alchav 2024-03-28 16:23:01 -05:00 committed by GitHub
parent de860623d1
commit eb66886a90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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):