Fill: fix non_local_items breaking in single player

This commit is contained in:
Fabian Dill
2021-09-15 01:02:06 +02:00
parent ee1ea881e8
commit 5d68dc568f
3 changed files with 5 additions and 2 deletions

View File

@@ -298,7 +298,7 @@ class ALTTPWorld(World):
if world.player_name[player] != 'Player%d' % player else ''
rompath = os.path.join(output_directory, f'AP_{world.seed_name}{outfilepname}.sfc')
rom.write_to_file(rompath, hide_enemizer=True)
rom.write_to_file(rompath)
Patch.create_patch_file(rompath, player=player, player_name=world.player_name[player])
os.unlink(rompath)
self.rom_name = rom.name