correct number of newlines between tile and sprite data

This commit is contained in:
Max Bradbury 2020-04-30 08:07:10 +01:00
parent 96bd2a9dec
commit fd7cfbe15c
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ $(document).ready(function() {
tileText += "\n"; 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 // write
$textArea.val(newGameData); $textArea.val(newGameData);