Important key fix for logic placment

This commit is contained in:
aerinon
2022-09-02 13:10:03 -06:00
parent 2c78170579
commit c10a791ed6
2 changed files with 15 additions and 11 deletions

View File

@@ -172,7 +172,8 @@ def valid_key_placement(item, location, key_pool, world):
if key_logic.prize_location:
prize_loc = world.get_location(key_logic.prize_location, location.player)
cr_count = world.crystals_needed_for_gt[location.player]
return key_logic.check_placement(unplaced_keys, location if item.bigkey else None, prize_loc, cr_count)
wild_keys = world.keyshuffle[item.player] != 'none'
return key_logic.check_placement(unplaced_keys, wild_keys, location if item.bigkey else None, prize_loc, cr_count)
else:
return not item.is_inside_dungeon_item(world)