1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Fix crash when quitting online lounge if the downloaded folder is still empty

This commit is contained in:
0aubsq 2022-06-04 08:54:54 +02:00
parent 420c3e6c71
commit eed4da4b31
2 changed files with 3 additions and 3 deletions

View File

@ -3540,7 +3540,7 @@ LeftRed2P=K011
RightRed2P=K023
LeftBlue2P=K012
RightBlue2P=K047
Clap=
Clap=K017
Clap2P=
Decide=K015,K019
Cancel=

View File

@ -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);