mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Merge pull request #17160 from peppy/remove-unnecessary-user-submittable-score
Remove `user` from `SubmittableScore`
This commit is contained in:
commit
4603e082f5
@ -46,9 +46,6 @@ namespace osu.Game.Online.Solo
|
|||||||
[JsonProperty("mods")]
|
[JsonProperty("mods")]
|
||||||
public APIMod[] Mods { get; set; }
|
public APIMod[] Mods { get; set; }
|
||||||
|
|
||||||
[JsonProperty("user")]
|
|
||||||
public APIUser User { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("statistics")]
|
[JsonProperty("statistics")]
|
||||||
public Dictionary<HitResult, int> Statistics { get; set; }
|
public Dictionary<HitResult, int> Statistics { get; set; }
|
||||||
|
|
||||||
@ -67,7 +64,6 @@ namespace osu.Game.Online.Solo
|
|||||||
RulesetID = score.RulesetID;
|
RulesetID = score.RulesetID;
|
||||||
Passed = score.Passed;
|
Passed = score.Passed;
|
||||||
Mods = score.APIMods;
|
Mods = score.APIMods;
|
||||||
User = score.User;
|
|
||||||
Statistics = score.Statistics;
|
Statistics = score.Statistics;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user