Guard against NaN star difficulty results

This commit is contained in:
Dean Herbert
2022-06-29 21:02:23 +09:00
parent 6a16b84edb
commit 18d465eff7
2 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ namespace osu.Game.Beatmaps
if (cancellationToken.IsCancellationRequested)
return;
var starDifficulty = task.GetResultSafely();
StarDifficulty? starDifficulty = task.GetResultSafely();
if (starDifficulty != null)
bindable.Value = starDifficulty.Value;