From a51be12a4a47cf21b8e0f25fa409e38ec3456167 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Sun, 25 Jan 2026 10:34:37 -0600 Subject: [PATCH] More romname fixes --- Rom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')