Skip to content

Commit c8448fb

Browse files
author
prima
committed
fix: Character image not being stored properly
1 parent 4602f1b commit c8448fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klite.embd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5260,7 +5260,7 @@ Current version indicated by LITEVER below.
52605260
try
52615261
{
52625262
bufferToBase64(data).then(async (b64) => {
5263-
b64Url = `data:image/png;base64,${b64}`
5263+
let b64Url = `data:image/png;base64,${b64}`
52645264
let charData = !!decoded?.data ? decoded.data : decoded;
52655265
let rawName = !!charData?.name ? charData?.name : (!!filename ? filename : "No character name"), charName = rawName.replaceAll(/[^\w()_\-'",!\[\].]/g, " ").replaceAll(/\s+/g, " ").trim();
52665266
charData.name = charName;

0 commit comments

Comments
 (0)