Modified key fix for Unstable
This commit is contained in:
2
Fill.py
2
Fill.py
@@ -172,7 +172,7 @@ def valid_key_placement(item, location, key_pool, world):
|
|||||||
if key_logic.prize_location:
|
if key_logic.prize_location:
|
||||||
prize_loc = world.get_location(key_logic.prize_location, location.player)
|
prize_loc = world.get_location(key_logic.prize_location, location.player)
|
||||||
cr_count = world.crystals_needed_for_gt[location.player]
|
cr_count = world.crystals_needed_for_gt[location.player]
|
||||||
wild_keys = world.keyshuffle[item.player] != 'none'
|
wild_keys = world.keyshuffle[item.player]
|
||||||
return key_logic.check_placement(unplaced_keys, wild_keys, location if item.bigkey else None, prize_loc, cr_count)
|
return key_logic.check_placement(unplaced_keys, wild_keys, location if item.bigkey else None, prize_loc, cr_count)
|
||||||
else:
|
else:
|
||||||
return not item.is_inside_dungeon_item(world)
|
return not item.is_inside_dungeon_item(world)
|
||||||
|
|||||||
Reference in New Issue
Block a user