Fix TestWorkingBeatmap broken by attempting to load storyboard

This commit is contained in:
Dean Herbert
2017-07-20 09:22:39 +09:00
parent d75e439f94
commit d69470f2ae
4 changed files with 12 additions and 9 deletions

View File

@ -81,8 +81,8 @@ namespace osu.Game.Screens.Play
try
{
if (!Beatmap.Value.WithStoryboard)
// we need to ensure the storyboard is loaded.
if (!Beatmap.Value.FullyLoaded)
// we need to ensure extras like storyboards are loaded.
Beatmap.Value = beatmaps.GetWorkingBeatmap(Beatmap.Value.BeatmapInfo, withStoryboard: true);
if (Beatmap.Value.Beatmap == null)