fix: chat sync issue in lua engine

This commit is contained in:
bangonicdd
2024-10-09 21:57:55 +09:00
parent 8f1850680b
commit 906c8a9c22
2 changed files with 11 additions and 1 deletions

View File

@@ -517,7 +517,7 @@ export async function runTrigger(char:character,mode:triggerMode, arg:{
if(triggerCodeResult.stopSending){
stopSending = true
}
chat = triggerCodeResult.chat
chat = get(CurrentChat)
break
}
}