1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 01:08:12 +08:00

Merge pull request #20031 from peppy/fix-replay-file-missing-crash

Fix crash when attempting to watch a replay when the storage file doesn't exist
This commit is contained in:
Dan Balasescu
2022-08-31 13:06:45 +09:00
committed by GitHub
Unverified
+5
View File
@@ -25,7 +25,12 @@ namespace osu.Game.Scoring
return;
using (var stream = store.GetStream(replayFilename))
{
if (stream == null)
return;
Replay = new DatabasedLegacyScoreDecoder(rulesets, beatmaps).Parse(stream).Replay;
}
}
}
}