1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 02:57:25 +08:00

Fix potential nullref is beatmap load failed

This commit is contained in:
Dean Herbert 2021-06-01 14:19:13 +09:00
parent 14570b6fb1
commit 9221213fe5

View File

@ -36,6 +36,8 @@ namespace osu.Game.Screens.Play
[BackgroundDependencyLoader]
private void load()
{
if (!LoadedBeatmapSuccessfully) return;
Score = createScore(GameplayBeatmap, Mods.Value);
}