From 200e4fd73de1e7d70588c25e2ca483e1e6497600 Mon Sep 17 00:00:00 2001 From: qwint Date: Fri, 25 Oct 2024 15:23:06 -0500 Subject: [PATCH] somehow this mixup got into the final grubhunt PR --- worlds/hk/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/worlds/hk/__init__.py b/worlds/hk/__init__.py index 9ec77e6bf0cd..9ee5a7361e6d 100644 --- a/worlds/hk/__init__.py +++ b/worlds/hk/__init__.py @@ -509,10 +509,11 @@ def set_goal(player, grub_rule: typing.Callable[[CollectionState], bool]): per_player_grubs_per_player[player][player] += 1 if grub.location and grub.location.player in group_lookup.keys(): - for real_player in group_lookup[grub.location.player]: - grub_count_per_player[real_player] += 1 + # will count the item linked grub instead + pass else: - grub_count_per_player[player] += 1 + for real_player in group_lookup[player]: + grub_count_per_player[real_player] += 1 for player, count in grub_count_per_player.items(): multiworld.worlds[player].grub_count = count