From f5b1b4a83d2995adadc072c36de10a315d10eb3b Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Fri, 1 Jan 2021 14:46:05 -0700 Subject: [PATCH] Make multi-hints readable by CC2 --- js/format-c2g.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/format-c2g.js b/js/format-c2g.js index 054d29a..6f0cfce 100644 --- a/js/format-c2g.js +++ b/js/format-c2g.js @@ -1499,7 +1499,8 @@ export function synthesize_level(stored_level) { hints = hints.map(hint => hint ?? ''); hints.push(''); hints.unshift(''); - c2m.add_section('NOTE', hints.join('\n[CLUE]\n')); + // Must use Windows linebreaks here 🙄 + c2m.add_section('NOTE', hints.join('\r\n[CLUE]\r\n')); let compressed_map = compress(map_bytes); if (compressed_map) {