Fixed error with non-prize shuffle

This commit is contained in:
codemann8
2025-12-07 00:00:14 -06:00
parent 72f370de4a
commit 6cdcc800e0

View File

@@ -183,7 +183,7 @@ def fill_restrictive(world, base_state, locations, itempool, key_pool=None, sing
spot_to_fill = None spot_to_fill = None
item_locations = filter_locations(item_to_place, locations, world, vanilla) item_locations = filter_locations(item_to_place, locations, world, vanilla)
if is_dungeon_item(item_to_place, world): if is_dungeon_item(item_to_place, world) and not (item_to_place.prize and world.prizeshuffle[item_to_place.player] == 'none'):
item_locations = [l for l in item_locations if valid_dungeon_placement(item_to_place, l, world)] item_locations = [l for l in item_locations if valid_dungeon_placement(item_to_place, l, world)]
verify(item_to_place, item_locations, maximum_exploration_state, single_player_placement, verify(item_to_place, item_locations, maximum_exploration_state, single_player_placement,
perform_access_check, key_pool, world) perform_access_check, key_pool, world)