LTTP: fix some hashed string comparisons (#2927)

This commit is contained in:
Aaron Wagener
2024-03-11 04:00:28 -05:00
committed by GitHub
parent 9c920fbc53
commit 5fecb7f043
9 changed files with 26 additions and 20 deletions

View File

@@ -605,7 +605,7 @@ def get_pool_core(world, player: int):
placed_items[loc] = item
# provide boots to major glitch dependent seeds
if logic in {'overworld_glitches', 'hybrid_major_glitches', 'no_logic'} and world.glitch_boots[player]:
if logic.current_key in {'overworld_glitches', 'hybrid_major_glitches', 'no_logic'} and world.glitch_boots[player]:
precollected_items.append('Pegasus Boots')
pool.remove('Pegasus Boots')
pool.append('Rupees (20)')