1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Hide bonus result types from score table for the time being

This commit is contained in:
Dean Herbert 2020-10-09 13:23:18 +09:00
parent 07558b5bc0
commit 389ffe7da5

View File

@ -110,6 +110,11 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
if (!allScoreStatistics.Contains(result))
continue;
// for the time being ignore bonus result types.
// this is not being sent from the API and will be empty in all cases.
if (result.IsBonus())
continue;
string displayName = ruleset.GetDisplayNameForHitResult(result);
columns.Add(new TableColumn(displayName, Anchor.CentreLeft, new Dimension(GridSizeMode.Distributed, minSize: 35, maxSize: 60)));