Skip to content

Commit

Permalink
somehow this mixup got into the final grubhunt PR
Browse files Browse the repository at this point in the history
  • Loading branch information
qwint committed Oct 25, 2024
1 parent 77ee6d7 commit 200e4fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions worlds/hk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 200e4fd

Please sign in to comment.