logging: fix retry attempts nr
This commit is contained in:
parent
7ccab4bf44
commit
0e3327e0f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue