Fix objectives transferring to new characters

This commit is contained in:
SillyLossy
2023-06-03 02:43:16 +03:00
parent 8b86b29981
commit f4802952b6

View File

@@ -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) {