correct number of newlines between tile and sprite data
This commit is contained in:
parent
96bd2a9dec
commit
fd7cfbe15c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue