mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
fix load storyboard in osu file
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user