diff --git a/Rom.py b/Rom.py index e4b133b5..95fe46f3 100644 --- a/Rom.py +++ b/Rom.py @@ -1897,14 +1897,14 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None): if len(rom_header) > 21: raise Exception('ROM header too long. Max 21 bytes, found %d bytes.' % len(rom_header)) - if world.players > 1 and world.teams > 1 and len(rom_header) <= 12: + if world.players > 1 and len(rom_header) <= 12: rom.name = bytearray(f"GK_{team + 1}_{player}_{rom_header}", 'utf8') elif len(rom_header) <= 18: rom.name = bytearray(f"GK_{rom_header}", 'utf8') else: rom.name = bytearray(rom_header, 'utf8') else: - if world.players > 1 and world.teams > 1: + if world.players > 1: rom.name = bytearray(f'GK_{team + 1}_{player}_{world.seed}', 'utf8') else: rom.name = bytearray(f'GK_{world.seed}', 'utf8')