mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Merge pull request #23889 from peppy/fix-null-storyboard
Fix storyboard being null if file doesn't exist
This commit is contained in:
commit
422216aa4c
@ -264,7 +264,7 @@ namespace osu.Game.Beatmaps
|
||||
if (beatmapFileStream == null)
|
||||
{
|
||||
Logger.Log($"Beatmap failed to load (file {BeatmapInfo.Path} not found on disk at expected location {fileStorePath})", level: LogLevel.Error);
|
||||
return null;
|
||||
return new Storyboard();
|
||||
}
|
||||
|
||||
using (var reader = new LineBufferedReader(beatmapFileStream))
|
||||
|
Loading…
Reference in New Issue
Block a user