Fixed issue with prize shuffle where HMG uses cross dungeon paths to show prize on map

This commit is contained in:
codemann8
2024-08-16 19:59:18 -05:00
parent 67c87426fb
commit 47214bc40a
2 changed files with 2 additions and 2 deletions

View File

@@ -2789,7 +2789,7 @@ class Item(object):
def explore_region(region):
explored_regions.append(region.name)
for ent in region.entrances:
if ent.parent_region is not None:
if ent.parent_region is not None and ent.spot_type != 'OWG':
if ent.parent_region.type in [RegionType.LightWorld, RegionType.DarkWorld]:
return ent
elif ent.parent_region.name not in explored_regions: