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

Footerを空にした場合クラッシュする問題を修正 (#215)

This commit is contained in:
Takkkom 2022-06-01 10:20:36 +09:00 committed by GitHub
parent ec257cd4a4
commit de79490113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,10 +36,13 @@ namespace TJAPlayer3
Random random = new Random();
var upDirs = System.IO.Directory.GetFiles(footerDir);
if (upDirs.Length > 0)
{
var upPath = upDirs[random.Next(0, upDirs.Length)];
Mob_Footer = TJAPlayer3.tテクスチャの生成(upPath);
}
}
base.OnManagedリソースの作成();
}