Keysanity in older algorithms

This just makes older algorithms use v26's dungeon item distribution if keysanity is enabled.
This commit is contained in:
AmazingAmpharos 2017-11-09 04:45:13 -06:00 committed by GitHub
parent 90f9046bda
commit 3d60d3ab50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def main(args, seed=None):
logger.info('Placing Dungeon Items.') logger.info('Placing Dungeon Items.')
shuffled_locations = None shuffled_locations = None
if args.algorithm == 'vt26': if args.algorithm == 'vt26' or args.keysanity:
shuffled_locations = world.get_unfilled_locations() shuffled_locations = world.get_unfilled_locations()
random.shuffle(shuffled_locations) random.shuffle(shuffled_locations)
fill_dungeons_restrictive(world, shuffled_locations) fill_dungeons_restrictive(world, shuffled_locations)