Fix balanced algorithm to actually use restrrictive fill for dungeon items
This commit is contained in:
parent
e3ac7ee4a6
commit
73ad4e5fbb
2
Main.py
2
Main.py
|
@ -61,7 +61,7 @@ def main(args, seed=None):
|
|||
logger.info('Placing Dungeon Items.')
|
||||
|
||||
shuffled_locations = None
|
||||
if args.algorithm == 'vt26' or args.keysanity:
|
||||
if args.algorithm in ['balanced', 'vt26'] or args.keysanity:
|
||||
shuffled_locations = world.get_unfilled_locations()
|
||||
random.shuffle(shuffled_locations)
|
||||
fill_dungeons_restrictive(world, shuffled_locations)
|
||||
|
|
Loading…
Reference in New Issue