mirror of
https://github.com/osukey/osukey.git
synced 2025-05-18 20:17:23 +09:00
Schedule setPerformanceValue
This commit is contained in:
parent
6c97fbd3f2
commit
e0fe8af365
@ -46,7 +46,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
|
|||||||
{
|
{
|
||||||
new PerformanceBreakdownCalculator(beatmapManager, difficultyCache, performanceCache)
|
new PerformanceBreakdownCalculator(beatmapManager, difficultyCache, performanceCache)
|
||||||
.CalculateAsync(score, cancellationTokenSource.Token)
|
.CalculateAsync(score, cancellationTokenSource.Token)
|
||||||
.ContinueWith(t => setPerformanceValue(t.GetResultSafely()));
|
.ContinueWith(t => Schedule(() => setPerformanceValue(t.GetResultSafely())));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setPerformanceValue(PerformanceBreakdown breakdown)
|
private void setPerformanceValue(PerformanceBreakdown breakdown)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user