diff --git a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏DrumsFooter.cs b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏DrumsFooter.cs index 258caa72..08bc6bb2 100644 --- a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏DrumsFooter.cs +++ b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏DrumsFooter.cs @@ -36,9 +36,12 @@ namespace TJAPlayer3 Random random = new Random(); var upDirs = System.IO.Directory.GetFiles(footerDir); - var upPath = upDirs[random.Next(0, upDirs.Length)]; + if (upDirs.Length > 0) + { + var upPath = upDirs[random.Next(0, upDirs.Length)]; - Mob_Footer = TJAPlayer3.tテクスチャの生成(upPath); + Mob_Footer = TJAPlayer3.tテクスチャの生成(upPath); + } } base.OnManagedリソースの作成();