The Messenger: more generous portal validation (#5011)

* The Messenger: more generous portal validation

* remove the while and just go for 20 attempts. hopefully that's enough
This commit is contained in:
Aaron Wagener
2025-05-23 17:13:34 -05:00
committed by GitHub
parent 0a7aa9e3e2
commit e82d50a3c5

View File

@@ -281,7 +281,7 @@ class MessengerWorld(World):
disconnect_entrances(self) disconnect_entrances(self)
add_closed_portal_reqs(self) add_closed_portal_reqs(self)
# i need portal shuffle to happen after rules exist so i can validate it # i need portal shuffle to happen after rules exist so i can validate it
attempts = 5 attempts = 20
if self.options.shuffle_portals: if self.options.shuffle_portals:
self.portal_mapping = [] self.portal_mapping = []
self.spoiler_portal_mapping = {} self.spoiler_portal_mapping = {}