1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Fix typon on AdvancedStats

This commit is contained in:
Dean Herbert 2022-01-07 17:33:38 +09:00
parent 6a1e1d186f
commit 2ef791069c

View File

@ -154,12 +154,12 @@ namespace osu.Game.Screens.Select.Details
Task.WhenAll(normalStarDifficultyTask, moddedStarDifficultyTask).ContinueWith(_ => Schedule(() => Task.WhenAll(normalStarDifficultyTask, moddedStarDifficultyTask).ContinueWith(_ => Schedule(() =>
{ {
var normalDifficulty = normalStarDifficultyTask.GetResultSafely(); var normalDifficulty = normalStarDifficultyTask.GetResultSafely();
var moddeDifficulty = moddedStarDifficultyTask.GetResultSafely(); var moddedDifficulty = moddedStarDifficultyTask.GetResultSafely();
if (normalDifficulty == null || moddeDifficulty == null) if (normalDifficulty == null || moddedDifficulty == null)
return; return;
starDifficulty.Value = ((float)normalDifficulty.Value.Stars, (float)moddeDifficulty.Value.Stars); starDifficulty.Value = ((float)normalDifficulty.Value.Stars, (float)moddedDifficulty.Value.Stars);
}), starDifficultyCancellationSource.Token, TaskContinuationOptions.OnlyOnRanToCompletion, TaskScheduler.Current); }), starDifficultyCancellationSource.Token, TaskContinuationOptions.OnlyOnRanToCompletion, TaskScheduler.Current);
} }