implement skip_playthrough in mystery

This commit is contained in:
Fabian Dill
2020-05-31 00:28:03 +02:00
parent 0cb80eadf1
commit f918efb645
4 changed files with 11 additions and 4 deletions

View File

@@ -277,7 +277,7 @@ def main(args, seed=None):
if args.jsonout:
print(json.dumps({**jsonout, 'spoiler': world.spoiler.to_json()}))
elif args.create_spoiler and not args.skip_playthrough:
elif args.create_spoiler:
world.spoiler.to_file(output_path('%s_Spoiler.txt' % outfilebase))
logger.info('Done. Enjoy.')