Don't load local rom twice

skip extra LocalRom() init
This commit is contained in:
Fabian Dill
2020-12-22 09:06:29 +01:00
committed by GitHub
parent 2a05e94970
commit 80e3e98fb4

View File

@@ -222,9 +222,6 @@ def main(args, seed=None, fish=None):
if use_enemizer:
base_patch = LocalRom(args.rom) # update base2current.json
if use_enemizer:
base_patch = LocalRom(args.rom) # update base2current.json
rom = JsonRom() if args.jsonout or use_enemizer else LocalRom(args.rom)
if use_enemizer and (args.enemizercli or not args.jsonout):