remove duplicate Shop name in location names

This commit is contained in:
Fabian Dill
2021-01-09 22:48:03 +01:00
parent 00d1f272e8
commit 03552ecf12
4 changed files with 10 additions and 7 deletions

2
Rom.py
View File

@@ -691,7 +691,7 @@ def patch_rom(world, rom, player, team, enemized):
if location.address is None:
continue
if 'Shop Slot' in location.name and location.parent_region.shop is not None:
if location.parent_region.shop and 'Slot' in location.name:
continue
if not location.crystal: