mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Have beatmap return a zero-length TrackVirtual instead of null on load failure
This commit is contained in:
@ -69,7 +69,7 @@ namespace osu.Game.Database
|
||||
var trackData = getReader()?.GetStream(Metadata.AudioFile);
|
||||
return trackData == null ? null : new TrackBass(trackData);
|
||||
}
|
||||
catch { return null; }
|
||||
catch { return new TrackVirtual(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user