mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Don't exception on inability to read audio track.
This commit is contained in:
@ -18,11 +18,15 @@ namespace osu.Game.Beatmaps
|
||||
get
|
||||
{
|
||||
if (track == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
var trackData = Reader.ReadFile(Beatmap.Metadata.AudioFile);
|
||||
if (trackData != null)
|
||||
track = new AudioTrackBass(trackData);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
return track;
|
||||
}
|
||||
|
Reference in New Issue
Block a user