mirror of https://github.com/ppy/osu
Hide bonus result types from score table for the time being
This commit is contained in:
parent
07558b5bc0
commit
389ffe7da5
|
@ -110,6 +110,11 @@ private TableColumn[] createHeaders(IReadOnlyList<ScoreInfo> 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)));
|
||||
|
|
Loading…
Reference in New Issue