use_cache argument to get_all_state

This commit is contained in:
espeon65536
2021-09-01 14:01:54 -05:00
committed by Fabian Dill
parent 88451d4239
commit c73b994305
4 changed files with 6 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ def fill_dungeons_restrictive(autoworld, world):
(not (item.player, item.name) in dungeon_specific or item.dungeon is dungeon) and orig_rule(item)
world.random.shuffle(locations)
all_state_base = world.get_all_state()
all_state_base = world.get_all_state(use_cache=True)
# Dungeon-locked items have to be placed first, to not run out of spaces for dungeon-locked items
# subsort in the order Big Key, Small Key, Other before placing dungeon items