fix load storyboard in osu file

This commit is contained in:
james58899
2018-01-10 18:55:04 +08:00
parent 5b6ddb984f
commit fbffc8bb89
2 changed files with 8 additions and 10 deletions

View File

@ -70,10 +70,13 @@ namespace osu.Game.Beatmaps.Formats
protected abstract void ParseBeatmap(StreamReader stream, Beatmap beatmap);
public virtual Storyboard DecodeStoryboard(StreamReader stream)
public virtual Storyboard DecodeStoryboard(params StreamReader[] streams)
{
var storyboard = new Storyboard();
ParseStoryboard(stream, storyboard);
foreach (StreamReader stream in streams)
{
ParseStoryboard(stream, storyboard);
}
return storyboard;
}