mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix objectives transferring to new characters
This commit is contained in:
@@ -3582,10 +3582,11 @@ async function getChatResult() {
|
||||
printMessages();
|
||||
select_selected_character(this_chid);
|
||||
|
||||
await eventSource.emit(event_types.CHAT_CHANGED, (getCurrentChatId()));
|
||||
|
||||
if (chat.length === 1) {
|
||||
await eventSource.emit(event_types.MESSAGE_RECEIVED, (chat.length - 1));
|
||||
}
|
||||
await eventSource.emit(event_types.CHAT_CHANGED, (getCurrentChatId()));
|
||||
}
|
||||
|
||||
async function openCharacterChat(file_name) {
|
||||
|
Reference in New Issue
Block a user