diff --git a/pythonlib/formats/rebirth/btlsub_to_hdr.py b/pythonlib/formats/rebirth/btlsub_to_hdr.py index 5f6fe91..2ec9136 100644 --- a/pythonlib/formats/rebirth/btlsub_to_hdr.py +++ b/pythonlib/formats/rebirth/btlsub_to_hdr.py @@ -85,7 +85,10 @@ def entry_to_line_str(entry: SubEntry, index: int) -> list[str]: content.append(f" {priority},") content.append(f" {start_text},") content.append(f" {end_text},") - content.append(f' {name} ": " {text}') + if name: + content.append(f' {name} ": " {text}') + else: + content.append(f' {text}') content.append("};") return content