From 8ff2fb91d4c1a2dca1f9381c3a1fb3518c12c4a4 Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Mon, 1 Sep 2025 15:49:09 -0400 Subject: [PATCH] Minor fix to prevent trigger from occuring too early --- worlds/grinch/Client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/grinch/Client.py b/worlds/grinch/Client.py index ca17f7d3..63616dc7 100644 --- a/worlds/grinch/Client.py +++ b/worlds/grinch/Client.py @@ -127,8 +127,8 @@ class GrinchClient(BizHawkClient): else: expected_int_value = addr_to_update.value ram_checked_list.append(expected_int_value == current_ram_address_value) - if all(ram_checked_list): - local_locations_checked.append(GrinchLocation.get_apid(grinch_loc_ram_data.id)) + if all(ram_checked_list): + local_locations_checked.append(GrinchLocation.get_apid(grinch_loc_ram_data.id)) # Update the AP server with the locally checked list of locations (In other words, locations I found in Grinch) locations_sent_to_ap: set[int] = await ctx.check_locations(local_locations_checked)