Ignore statistics update requests from third-party rulesets for now

This commit is contained in:
Bartłomiej Dach 2022-12-24 11:28:46 +01:00
parent 27afeb9e30
commit d6e079a2b4
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -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)