mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Ignore statistics update requests from third-party rulesets for now
This commit is contained in:
parent
27afeb9e30
commit
d6e079a2b4
@ -8,6 +8,7 @@ using System.Linq;
|
||||
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 @@ namespace osu.Game.Online.Solo
|
||||
if (!api.IsLoggedIn)
|
||||
return;
|
||||
|
||||
if (!score.Ruleset.IsLegacyRuleset())
|
||||
return;
|
||||
|
||||
var callback = new StatisticsUpdateCallback(score, onUpdateReady);
|
||||
|
||||
if (lastProcessedScoreId == score.OnlineID)
|
||||
|
Loading…
Reference in New Issue
Block a user