mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Fix typon on AdvancedStats
This commit is contained in:
parent
6a1e1d186f
commit
2ef791069c
@ -154,12 +154,12 @@ namespace osu.Game.Screens.Select.Details
|
||||
Task.WhenAll(normalStarDifficultyTask, moddedStarDifficultyTask).ContinueWith(_ => Schedule(() =>
|
||||
{
|
||||
var normalDifficulty = normalStarDifficultyTask.GetResultSafely();
|
||||
var moddeDifficulty = moddedStarDifficultyTask.GetResultSafely();
|
||||
var moddedDifficulty = moddedStarDifficultyTask.GetResultSafely();
|
||||
|
||||
if (normalDifficulty == null || moddeDifficulty == null)
|
||||
if (normalDifficulty == null || moddedDifficulty == null)
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user