From 30062485ab8c10f9c05af3207a9b826cc685da0a Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 3 Dec 2020 21:38:39 -0700 Subject: [PATCH] Fix hint saving --- js/format-c2g.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/format-c2g.js b/js/format-c2g.js index 0748511..598bc4d 100644 --- a/js/format-c2g.js +++ b/js/format-c2g.js @@ -1313,6 +1313,7 @@ export function synthesize_level(stored_level) { // FIXME this does not respect global hint, but then, neither does the editor. hints = hints.map(hint => hint ?? ''); hints.push(''); + hints.unshift(''); c2m.add_section('NOTE', hints.join('\n[CLUE]\n')); // FIXME ack, ArrayBuffer.slice makes a copy actually! and i use it a lot in this file i think!!