mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Do not query API for custom rulesets
This commit is contained in:
parent
2913a81835
commit
9f091f3a56
@ -68,7 +68,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private void calculateRecommendedDifficulties()
|
||||
{
|
||||
rulesets.AvailableRulesets.ForEach(rulesetInfo =>
|
||||
// only query API for built-in rulesets
|
||||
rulesets.AvailableRulesets.Where(ruleset => ruleset.ID <= 3).ForEach(rulesetInfo =>
|
||||
{
|
||||
var req = new GetUserRequest(api.LocalUser.Value.Id, rulesetInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user