Skip to content

Commit eb66886

Browse files
authored
SC2: Don't Filter Excluded Victory Locations (ArchipelagoMW#3018)
1 parent de86062 commit eb66886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/sc2/Locations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ def get_locations(world: Optional[World]) -> Tuple[LocationData, ...]:
16201620
plando_locations = get_plando_locations(world)
16211621
exclude_locations = get_option_value(world, "exclude_locations")
16221622
location_table = [location for location in location_table
1623-
if (LocationType is LocationType.VICTORY or location.name not in exclude_locations)
1623+
if (location.type is LocationType.VICTORY or location.name not in exclude_locations)
16241624
and location.type not in excluded_location_types
16251625
or location.name in plando_locations]
16261626
for i, location_data in enumerate(location_table):

0 commit comments

Comments
 (0)