[fix] chat lorebook sets to character loreboo

This commit is contained in:
kwaroran
2023-05-25 23:15:05 +09:00
parent 98a3d39546
commit 17d15e1ac3
4 changed files with 4 additions and 4 deletions

View File

@@ -209,7 +209,7 @@ export async function importLoreBook(mode:'global'|'local'|'sglobal'){
if(mode === 'global'){
db.characters[selectedID].globalLore = lore
}
if(mode === 'sglobal'){
else if(mode === 'sglobal'){
db.loreBook[db.loreBookPage].data = lore
}
else{