1
0
mirror of synced 2024-12-01 02:27:21 +01:00

Crash guard for "None" hitsounds

This commit is contained in:
0auBSQ 2023-02-18 02:20:34 +09:00
parent 57d7d05cdb
commit 54ac3f2567

View File

@ -314,10 +314,10 @@ namespace TJAPlayer3
this.soundClap[i] = TJAPlayer3.Sound管理.tサウンドを生成する((@"Global\HitSounds\" + hs.clap[actual]), ESoundGroup.SoundEffect);
int _panning = TJAPlayer3.ConfigIni.nPanning[TJAPlayer3.ConfigIni.nPlayerCount - 1][i];
this.soundRed[i].n位置 = _panning;
this.soundBlue[i].n位置 = _panning;
this.soundAdlib[i].n位置 = _panning;
this.soundClap[i].n位置 = _panning;
if (this.soundRed[i] != null) this.soundRed[i].n位置 = _panning;
if (this.soundBlue[i] != null) this.soundBlue[i].n位置 = _panning;
if (this.soundAdlib[i] != null) this.soundAdlib[i].n位置 = _panning;
if (this.soundClap[i] != null) this.soundClap[i].n位置 = _panning;
}
/*
this.soundRed = TJAPlayer3.Sound管理.tサウンドを生成する( CSkin.Path( @"Sounds\Taiko\dong.ogg" ), ESoundGroup.SoundEffect );