refactor: Set default value for ttsMode in characterFormatUpdate

This commit is contained in:
kwaroran
2024-06-03 18:07:12 +09:00
parent 6d7e9da3e9
commit 118e112f71

View File

@@ -339,6 +339,7 @@ export function characterFormatUpdate(index:number|character){
if(!cha.newGenData){
cha = updateInlayScreen(cha)
}
cha.ttsMode ||= 'none'
}
else{
if((!cha.characterTalks) || cha.characterTalks.length !== cha.characters.length){