HK: Remove unused variables and imports (#4303)

* Remove unused variables and imports

* Accidental duplication
This commit is contained in:
Nicholas Saylor 2024-12-04 02:51:56 -05:00 committed by GitHub
parent f43fa612d5
commit 769fbc55a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import typing
import re
from dataclasses import dataclass, make_dataclass
from dataclasses import make_dataclass
from .ExtractedData import logic_options, starts, pool_options
from .Rules import cost_terms

View File

@ -340,7 +340,7 @@ class HKWorld(World):
for shop, locations in self.created_multi_locations.items():
for _ in range(len(locations), getattr(self.options, shop_to_option[shop]).value):
loc = self.create_location(shop)
self.create_location(shop)
unfilled_locations += 1
# Balance the pool
@ -356,7 +356,7 @@ class HKWorld(World):
if shops:
for _ in range(additional_shop_items):
shop = self.random.choice(shops)
loc = self.create_location(shop)
self.create_location(shop)
unfilled_locations += 1
if len(self.created_multi_locations[shop]) >= 16:
shops.remove(shop)