1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 23:50:42 +08:00

Have beatmap return a zero-length TrackVirtual instead of null on load failure

This commit is contained in:
Dean Herbert
2017-07-11 18:38:27 +09:00
Unverified
parent 311c2aec1c
commit 1bd3519ecb
+2 -2
View File
@@ -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(); }
}
}
}
}