1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 21:30:23 +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:
Bartłomiej Dach
2023-06-12 23:16:02 +02:00
committed by GitHub
Unverified
+1 -1
View File
@@ -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))