mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-03 21:12:57 +00:00
fix buggy
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user