Core: Sort Unreachable Locations Written to the Spoiler (#5269)

This commit is contained in:
Mysteryem
2025-08-10 16:03:12 +01:00
committed by GitHub
parent ecb22642af
commit 9bd535752e

View File

@@ -1899,7 +1899,8 @@ class Spoiler:
if self.unreachables: if self.unreachables:
outfile.write('\n\nUnreachable Progression Items:\n\n') outfile.write('\n\nUnreachable Progression Items:\n\n')
outfile.write( outfile.write(
'\n'.join(['%s: %s' % (unreachable.item, unreachable) for unreachable in self.unreachables])) '\n'.join(['%s: %s' % (unreachable.item, unreachable)
for unreachable in sorted(self.unreachables)]))
if self.paths: if self.paths:
outfile.write('\n\nPaths:\n\n') outfile.write('\n\nPaths:\n\n')