Skip to content

Commit 93176b1

Browse files
committed
fix local_victory_items item rule
1 parent 4436df8 commit 93176b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/sc2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def place_local_victory_items(multiworld: MultiWorld, world: World, pool: list):
404404
victory_locations = [location for location in multiworld.get_unfilled_locations(world.player)
405405
if is_victory_location(location.name)]
406406
for location in victory_locations:
407-
add_item_rule(location, lambda state: location.player == world.player)
407+
add_item_rule(location, lambda item: location.player == item.player)
408408
world.random.shuffle(pool)
409409
fill_restrictive(multiworld, multiworld.state, victory_locations, pool, single_player_placement=True, lock=False,
410410
swap=False)

0 commit comments

Comments
 (0)