mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix balanced algorithm to actually use restrrictive fill for dungeon items
This commit is contained in:
2
Main.py
2
Main.py
@@ -61,7 +61,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' or args.keysanity:
|
if args.algorithm in ['balanced', '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)
|
||||||
|
|||||||
Reference in New Issue
Block a user