Fix crash when quitting online lounge if the downloaded folder is still empty
This commit is contained in:
parent
420c3e6c71
commit
eed4da4b31
@ -3540,7 +3540,7 @@ LeftRed2P=K011
|
||||
RightRed2P=K023
|
||||
LeftBlue2P=K012
|
||||
RightBlue2P=K047
|
||||
Clap=
|
||||
Clap=K017
|
||||
Clap2P=
|
||||
Decide=K015,K019
|
||||
Cancel=
|
||||
|
@ -111,7 +111,7 @@ namespace TJAPlayer3
|
||||
|
||||
}
|
||||
|
||||
if (downloadBox != null)
|
||||
if (downloadBox != null && downloadBox.list子リスト != null)
|
||||
{
|
||||
|
||||
var flatten = TJAPlayer3.stage選曲.act曲リスト.flattenList(downloadBox.list子リスト);
|
||||
@ -1134,7 +1134,7 @@ namespace TJAPlayer3
|
||||
private void t曲リストへ後処理を適用する( List<C曲リストノード> ノードリスト, string parentName = "/", bool isGlobal = true )
|
||||
{
|
||||
|
||||
if (isGlobal)
|
||||
if (isGlobal && ノードリスト.Count > 0)
|
||||
{
|
||||
var randomNode = CSongDict.tGenerateRandomButton(ノードリスト[0].r親ノード, parentName);
|
||||
ノードリスト.Add(randomNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user