mirror of
https://github.com/ppy/osu
synced 2025-02-18 11:26:57 +00: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.Allocation;
|
||||||
using osu.Framework.Extensions.ObjectExtensions;
|
using osu.Framework.Extensions.ObjectExtensions;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
|
using osu.Game.Extensions;
|
||||||
using osu.Game.Online.API;
|
using osu.Game.Online.API;
|
||||||
using osu.Game.Online.API.Requests;
|
using osu.Game.Online.API.Requests;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
@ -51,6 +52,9 @@ namespace osu.Game.Online.Solo
|
|||||||
if (!api.IsLoggedIn)
|
if (!api.IsLoggedIn)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!score.Ruleset.IsLegacyRuleset())
|
||||||
|
return;
|
||||||
|
|
||||||
var callback = new StatisticsUpdateCallback(score, onUpdateReady);
|
var callback = new StatisticsUpdateCallback(score, onUpdateReady);
|
||||||
|
|
||||||
if (lastProcessedScoreId == score.OnlineID)
|
if (lastProcessedScoreId == score.OnlineID)
|
||||||
|
Loading…
Reference in New Issue
Block a user