diff --git a/src/ts/process/index.svelte.ts b/src/ts/process/index.svelte.ts index e239f274..9a4943bb 100644 --- a/src/ts/process/index.svelte.ts +++ b/src/ts/process/index.svelte.ts @@ -669,9 +669,9 @@ export async function sendChat(chatProcessIndex = -1,arg:{ let index = 0 for(const msg of ms){ - let formatedChat = await processScript(nowChatroom,risuChatParser(msg.data, {chara: currentChar, role: msg.role}), 'editprocess', { + let formatedChat = (await processScriptFull(nowChatroom,risuChatParser(msg.data, {chara: currentChar, role: msg.role}), 'editprocess', index, { chatRole: msg.role, - }) + })).data let name = '' if(msg.role === 'char'){ if(msg.saying){