mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Guard against NaN
star difficulty results
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user