type shop as Shop

This commit is contained in:
Fabian Dill 2021-01-18 04:53:02 +01:00
parent 478e1f3a82
commit b2d7229dde
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def create_shops(world, player: int):
player_shop_table["Dark Lake Hylia Shop"]._replace(locked=True, items=_inverted_hylia_shop_defaults)
for region_name, (room_id, type, shopkeeper, custom, locked, inventory) in player_shop_table.items():
region = world.get_region(region_name, player)
shop = shop_class_mapping[type](region, room_id, shopkeeper, custom, locked)
shop: Shop = shop_class_mapping[type](region, room_id, shopkeeper, custom, locked)
region.shop = shop
world.shops.append(shop)
for index, item in enumerate(inventory):