Fix beatable-only prizes and dungeon items in multiworld

This commit is contained in:
Bonta-kun
2019-12-11 11:37:05 +01:00
parent abfb57af23
commit 6d50e905e1
3 changed files with 9 additions and 4 deletions

View File

@@ -312,7 +312,7 @@ def fill_prizes(world, attempts=15):
prize_locs = list(empty_crystal_locations)
random.shuffle(prizepool)
random.shuffle(prize_locs)
fill_restrictive(world, all_state, prize_locs, prizepool)
fill_restrictive(world, all_state, prize_locs, prizepool, True)
except FillError as e:
logging.getLogger('').info("Failed to place dungeon prizes (%s). Will retry %s more times", e, attempts)
for location in empty_crystal_locations: