Omit displaying identical paths in spoiler log

This commit is contained in:
codemann8
2021-11-24 12:31:58 -06:00
parent 0795eb50c1
commit 3ef1f4bb52

View File

@@ -3104,7 +3104,7 @@ class Spoiler(object):
displayed_regions = []
for location, path in sorted(self.paths.items()):
if self.world.players == 1:
region = self.world.get_location(location, 1).parent_region
region = self.world.get_location(location.split(' @', 1)[0], 1).parent_region
if region.name in displayed_regions:
continue
displayed_regions.append(region.name)