mirror of https://github.com/ppy/osu
Ignore statistics update requests from third-party rulesets for now
This commit is contained in:
parent
27afeb9e30
commit
d6e079a2b4
|
@ -8,6 +8,7 @@
|
|||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.ObjectExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
|
@ -51,6 +52,9 @@ public void RegisterForStatisticsUpdateAfter(ScoreInfo score, Action<SoloStatist
|
|||
if (!api.IsLoggedIn)
|
||||
return;
|
||||
|
||||
if (!score.Ruleset.IsLegacyRuleset())
|
||||
return;
|
||||
|
||||
var callback = new StatisticsUpdateCallback(score, onUpdateReady);
|
||||
|
||||
if (lastProcessedScoreId == score.OnlineID)
|
||||
|
|
Loading…
Reference in New Issue