refactor: Set default value for ttsMode in characterFormatUpdate
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user