Footerを空にした場合クラッシュする問題を修正 (#215)
This commit is contained in:
parent
ec257cd4a4
commit
de79490113
@ -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リソースの作成();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user