From 7fb6bfc1318186ea55ec501b8f1cae3fe31cbbcd Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Wed, 15 Nov 2023 21:28:02 -0600 Subject: [PATCH] comment to sanitize myself --- worlds/messenger/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/worlds/messenger/__init__.py b/worlds/messenger/__init__.py index 91ebd95ca151..4f5b72466e3f 100644 --- a/worlds/messenger/__init__.py +++ b/worlds/messenger/__init__.py @@ -150,6 +150,9 @@ def set_rules(self) -> None: @classmethod def stage_fill_hook(cls, multiworld: MultiWorld, prog_items: List[Item], useful_items: List[Item], filler_items: List[Item], locations: List[Location]) -> None: + # it's possible for both items to get placed near the end of the itempool causing swap to be entered early + # as more than half of the player's locations become unavailable immediately. + # Please don't copy this nightmare players = multiworld.get_game_players(cls.game) total_items = len(prog_items) items = {}