HK: Save GrubHuntGoal by value (#4521)

This commit is contained in:
qwint
2025-01-20 13:10:29 -05:00
committed by GitHub
parent 823b17c386
commit e2b942139a

View File

@@ -209,7 +209,7 @@ class HKWorld(World):
# defaulting so completion condition isn't incorrect before pre_fill
self.grub_count = (
46 if options.GrubHuntGoal == GrubHuntGoal.special_range_names["all"]
else options.GrubHuntGoal
else options.GrubHuntGoal.value
)
self.grub_player_count = {self.player: self.grub_count}