Skip to content

Commit

Permalink
曲を読み込んでいる間に選曲画面に入るとクラッシュする問題の修正 (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
Takkkom authored Jun 30, 2022
1 parent 30868f1 commit 875f658
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TJAPlayer3/Stages/05.SongSelect/CActSelect曲リスト.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2440,6 +2440,8 @@ private void tChangeSong(int change)
}
public C曲リストノード rGetSideSong(int change)
{
if (r現在選択中の曲 == null) return null;

List<C曲リストノード> list = (TJAPlayer3.ConfigIni.TJAP3FolderMode && r現在選択中の曲.r親ノード != null) ? r現在選択中の曲.r親ノード.list子リスト : flattenList(TJAPlayer3.Songs管理.list曲ルート, true);

if (list.Count <= 0) return null;
Expand Down

0 comments on commit 875f658

Please sign in to comment.