Make multi-hints readable by CC2

This commit is contained in:
Eevee (Evelyn Woods) 2021-01-01 14:46:05 -07:00
parent 044c08c3fc
commit f5b1b4a83d

View File

@ -1499,7 +1499,8 @@ export function synthesize_level(stored_level) {
hints = hints.map(hint => hint ?? ''); hints = hints.map(hint => hint ?? '');
hints.push(''); hints.push('');
hints.unshift(''); 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); let compressed_map = compress(map_bytes);
if (compressed_map) { if (compressed_map) {