Skip playthrough calc when all seeds are NL
This commit is contained in:
4
Main.py
4
Main.py
@@ -372,6 +372,10 @@ def main(args, seed=None, fish=None):
|
|||||||
if 'debug' in world.spoiler.settings:
|
if 'debug' in world.spoiler.settings:
|
||||||
world.spoiler.extras(output_path(f'{outfilebase}_Spoiler.txt'))
|
world.spoiler.extras(output_path(f'{outfilebase}_Spoiler.txt'))
|
||||||
|
|
||||||
|
player_logics = set(world.logic.values())
|
||||||
|
if len(player_logics) == 1 and 'nologic' in player_logics:
|
||||||
|
args.skip_playthrough = True
|
||||||
|
|
||||||
if not args.skip_playthrough:
|
if not args.skip_playthrough:
|
||||||
logger.info(world.fish.translate("cli","cli","calc.playthrough"))
|
logger.info(world.fish.translate("cli","cli","calc.playthrough"))
|
||||||
create_playthrough(world)
|
create_playthrough(world)
|
||||||
|
|||||||
Reference in New Issue
Block a user