1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 15:27:26 +08:00

Merge pull request #17160 from peppy/remove-unnecessary-user-submittable-score

Remove `user` from `SubmittableScore`
This commit is contained in:
Dan Balasescu 2022-03-08 19:34:47 +09:00 committed by GitHub
commit 4603e082f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }
} }