@@ -90,8 +90,8 @@ namespace Ichni
|
||||
Observable.NextFrame().Subscribe(_ =>
|
||||
{
|
||||
GameManager.Instance.timeDurations = GameManager.Instance.beatmapContainer.gameElementList
|
||||
.Select(x=> (x as IHaveTimeDurationSubmodule)?.timeDurationSubmodule)
|
||||
.Where(x => x != null && x.startTime > 0 && x.endTime < GameManager.Instance.songInformation.songLength).ToList();
|
||||
.Select(x => (x as IHaveTimeDurationSubmodule)?.timeDurationSubmodule)
|
||||
.Where(x => x != null && (x.startTime > 0 || x.endTime < GameManager.Instance.songInformation.songLength)).ToList();
|
||||
GameManager.Instance.beatmapContainer.gameElementList.ForEach(element => element.WhenStart());
|
||||
});
|
||||
});
|
||||
@@ -127,7 +127,7 @@ namespace Ichni
|
||||
private void LoadSongInfo(string beatMapFolderPath)
|
||||
{
|
||||
string songInfoPath = beatMapFolderPath + "/SongInfo.bytes";
|
||||
ES3.Load<SongInformation_BM>("SongInformation",songInfoPath, LoadSettings).ExecuteBM();
|
||||
ES3.Load<SongInformation_BM>("SongInformation", songInfoPath, LoadSettings).ExecuteBM();
|
||||
}
|
||||
|
||||
private void LoadBeatMap(string beatMapFolderPath)
|
||||
|
||||
Reference in New Issue
Block a user