mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 11:42:56 +08:00
Trim zero values from hit statistics
This commit is contained in:
parent
8ff7770a71
commit
2d9da07eb6
@ -173,7 +173,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
RulesetID = score.RulesetID,
|
RulesetID = score.RulesetID,
|
||||||
Passed = score.Passed,
|
Passed = score.Passed,
|
||||||
Mods = score.APIMods,
|
Mods = score.APIMods,
|
||||||
Statistics = score.Statistics,
|
Statistics = score.Statistics.Where(kvp => kvp.Value != 0).ToDictionary(kvp => kvp.Key, kvp => kvp.Value),
|
||||||
};
|
};
|
||||||
|
|
||||||
public long OnlineID => ID ?? -1;
|
public long OnlineID => ID ?? -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user