From fd7cfbe15c4dc529047e0618da78da4c68d5d19e Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Thu, 30 Apr 2020 08:07:10 +0100 Subject: [PATCH] correct number of newlines between tile and sprite data --- includes/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/script.js b/includes/script.js index dacfd5b..00ae14c 100644 --- a/includes/script.js +++ b/includes/script.js @@ -539,7 +539,7 @@ $(document).ready(function() { tileText += "\n"; }); - newGameData = newGameData.replace(/(TIL.*(.*\n)*)SPR/g, '$1\n\n' + tileText + '\nSPR'); + newGameData = newGameData.replace(/(TIL.*(.*\n)*)SPR/g, '$1\n\n' + tileText + 'SPR'); // write $textArea.val(newGameData);