From 3ef1f4bb52b13b19328ae6639516b5b2a2501b19 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 24 Nov 2021 12:31:58 -0600 Subject: [PATCH] Omit displaying identical paths in spoiler log --- BaseClasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseClasses.py b/BaseClasses.py index 7d994704..ad51f12d 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -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)