Keysanity in older algorithms
This just makes older algorithms use v26's dungeon item distribution if keysanity is enabled.
This commit is contained in:
parent
90f9046bda
commit
3d60d3ab50
2
Main.py
2
Main.py
|
@ -58,7 +58,7 @@ def main(args, seed=None):
|
|||
logger.info('Placing Dungeon Items.')
|
||||
|
||||
shuffled_locations = None
|
||||
if args.algorithm == 'vt26':
|
||||
if args.algorithm == '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