fix buggy

This commit is contained in:
tuna2134
2024-09-09 23:29:22 +00:00
parent c2ceacdc04
commit 724915b6a8

View File

@@ -97,7 +97,7 @@ impl JTalkProcess {
return Ok(phone_tone_list
.iter()
.map(|x| {
let new_tone = if x.1 == -1 { 0 } else { x.1 };
let new_tone = if x.1 == -1 { 0 } else { 1 };
(x.0.clone(), new_tone)
})
.collect());