fix: play audio path mapping is broken

Closes: #936
This commit is contained in:
bd_ 2024-09-29 13:53:07 -07:00
parent 848f857728
commit 6dafe72c3b

View File

@ -611,7 +611,7 @@ namespace nadena.dev.modular_avatar.animation
{
if (!string.IsNullOrEmpty(playAudio.SourcePath) && !string.IsNullOrEmpty(basePath) && !playAudio.SourcePath.StartsWith(basePath))
{
playAudio.SourcePath = $"{basePath}/{playAudio.SourcePath}";
playAudio.SourcePath = $"{basePath}{playAudio.SourcePath}";
}
break;
}