Fix async exception by using difficulty calculator directly

This commit is contained in:
Dan Balasescu
2022-09-09 13:57:01 +09:00
parent 3b932b46ca
commit 08d0c08750
4 changed files with 20 additions and 24 deletions

View File

@ -175,7 +175,7 @@ namespace osu.Game
{
var score = scoreManager.Query(s => s.ID == id);
await scoreManager.PopulateMaximumStatistics(score);
scoreManager.PopulateMaximumStatistics(score);
// Can't use async overload because we're not on the update thread.
// ReSharper disable once MethodHasAsyncOverload