Get timer and progressive settings from dict for file name (#29)

This commit is contained in:
cassidy 2020-02-07 17:16:24 -05:00 committed by GitHub
parent bac66a7e53
commit 54e300a9e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ def main(args, seed=None):
"" if world.timer[player] in ['none', 'display'] else "-" + world.timer[player],
world.shuffle[player], world.algorithm, mcsb_name,
"-retro" if world.retro[player] else "",
"-prog_" + world.progressive if world.progressive in ['off', 'random'] else "",
"-prog_" + world.progressive[player] if world.progressive[player] in ['off', 'random'] else "",
"-nohints" if not world.hints[player] else "")) if not args.outputname else ''
rom.write_to_file(output_path(f'{outfilebase}{outfilepname}{outfilesuffix}.sfc'))