1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 21:24:41 +08:00

Schedule setPerformanceValue

This commit is contained in:
Henry Lin
2022-01-21 08:54:08 +08:00
Unverified
parent 6c97fbd3f2
commit e0fe8af365
@@ -46,7 +46,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
{
new PerformanceBreakdownCalculator(beatmapManager, difficultyCache, performanceCache)
.CalculateAsync(score, cancellationTokenSource.Token)
.ContinueWith(t => setPerformanceValue(t.GetResultSafely()));
.ContinueWith(t => Schedule(() => setPerformanceValue(t.GetResultSafely())));
}
private void setPerformanceValue(PerformanceBreakdown breakdown)