logging: fix retry attempts nr

This commit is contained in:
Bonta-kun 2019-12-28 01:11:44 +01:00
parent 7ccab4bf44
commit 0e3327e0f8
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ def fill_prizes(world, attempts=15):
random.shuffle(prize_locs)
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)
logging.getLogger('').info("Failed to place dungeon prizes (%s). Will retry %s more times", e, attempts - attempt - 1)
for location in empty_crystal_locations:
location.item = None
continue