Fixing spoiler log suppression for OW locations

This commit is contained in:
codemann8
2022-11-05 21:56:40 -05:00
parent 47b92997df
commit 757fee8220
3 changed files with 4 additions and 3 deletions

View File

@@ -511,7 +511,7 @@ def ensure_good_pots(world, write_skips=False):
loc.item = ItemFactory('Rupees (5)', loc.item.player)
# don't write out all pots to spoiler
if write_skips:
if loc.type == LocationType.Pot and loc.item.name in valid_pot_items:
if loc.type in [LocationType.Pot, LocationType.Bonk] and loc.item.name in valid_pot_items:
loc.skip = True