1
0
mirror of synced 2025-01-18 17:14:07 +01:00

コンボボイスをキャラクター別に (#231)

This commit is contained in:
Takkkom 2022-06-03 13:53:52 +09:00 committed by GitHub
parent 360081a324
commit 9bce8942bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,9 @@ namespace TJAPlayer3
{ {
#region [Combo voices] #region [Combo voices]
var currentDir = CSkin.Path(string.Format(@"Sounds\Combo_{0}P\", i + 1)); int _charaId = TJAPlayer3.NamePlateConfig.data.Character[TJAPlayer3.GetActualPlayer(i)];
var currentDir = ($@"{TJAPlayer3.strEXEのあるフォルダ}Global\Characters\{TJAPlayer3.Skin.Characters_DirName[_charaId]}\Sounds\Combo\");
if (Directory.Exists(currentDir)) if (Directory.Exists(currentDir))
{ {
foreach (var item in Directory.GetFiles(currentDir)) foreach (var item in Directory.GetFiles(currentDir))