mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 18:10:01 +08:00
fix possible NullReference?
AppVeyor pls?
This commit is contained in:
parent
cc76c58f5f
commit
ad8cd7eb5d
@ -621,7 +621,7 @@ namespace osu.Game.Beatmaps
|
||||
try
|
||||
{
|
||||
Decoder decoder;
|
||||
using (var stream = new StreamReader(store.GetStream(getPathForFile(BeatmapInfo.Path))))
|
||||
using (var stream = new StreamReader(store.GetStream(getPathForFile(BeatmapInfo?.Path))))
|
||||
decoder = Decoder.GetDecoder(stream);
|
||||
|
||||
// try for .osb first and fall back to .osu
|
||||
|
Loading…
x
Reference in New Issue
Block a user