spheres should ignore empty locations

This commit is contained in:
Fabian Dill
2021-02-27 18:58:17 +01:00
parent 8bfddb7fc6
commit 612c3c23c0
2 changed files with 3 additions and 7 deletions

View File

@@ -164,7 +164,7 @@ def ShopSlotFill(world):
blacklist_word in item_name for blacklist_word in blacklist_words)}
blacklist_words.add("Bee")
locations_per_sphere = list(list(sphere) for sphere in world.get_spheres())
locations_per_sphere = list(list(sphere).sort(key=lambda location: location.name) for sphere in world.get_spheres())