HK: fix crash if shop locations are at max and extra shop slots is nonzero
This commit is contained in:
parent
95f90851ac
commit
774581b7ba
|
@ -318,6 +318,7 @@ class HKWorld(World):
|
|||
if not self.multiworld.EggShopSlots[self.player].value: # No eggshop, so don't place items there
|
||||
shops.remove('Egg_Shop')
|
||||
|
||||
if shops:
|
||||
for _ in range(additional_shop_items):
|
||||
shop = self.multiworld.random.choice(shops)
|
||||
loc = self.create_location(shop)
|
||||
|
|
Loading…
Reference in New Issue