From 039603c13a25f568290cea294b1f2e65acfaf5c4 Mon Sep 17 00:00:00 2001 From: Tek022 Date: Thu, 5 Jul 2018 22:40:20 -0700 Subject: [PATCH] output_dir scope change allows spoiler log w/o ROM --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index ff577703f..d89f520cb 100644 --- a/Main.py +++ b/Main.py @@ -66,12 +66,12 @@ def main(settings): logger.info('Patching ROM.') outfilebase = 'OoT_%s_%s' % (world.settings_string, world.seed) + output_dir = default_output_path(settings.output_dir) if not settings.suppress_rom: rom = LocalRom(settings) patch_rom(world, rom) - output_dir = default_output_path(settings.output_dir) rom_path = os.path.join(output_dir, '%s.z64' % outfilebase) rom.write_to_file(rom_path)