Core: cleanup BaseClasses.Location
This is just cleanup and has virtually no performance impact.
This commit is contained in:
@@ -207,10 +207,10 @@ def ShopSlotFill(world):
|
||||
shops_per_sphere.append(current_shops_slots)
|
||||
candidates_per_sphere.append(current_candidates)
|
||||
for location in sphere:
|
||||
if location.shop_slot is not None:
|
||||
if isinstance(location, ALttPLocation) and location.shop_slot is not None:
|
||||
if not location.shop_slot_disabled:
|
||||
current_shops_slots.append(location)
|
||||
elif not location.locked and not location.item.name in blacklist_words:
|
||||
elif not location.locked and location.item.name not in blacklist_words:
|
||||
current_candidates.append(location)
|
||||
if cumu_weights:
|
||||
x = cumu_weights[-1]
|
||||
|
||||
Reference in New Issue
Block a user