From be1ae2bd8eafa6b16494b3b4e16eff8675931b58 Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Tue, 23 May 2017 15:08:02 -0300 Subject: [PATCH] Remove ??, value can never be null --- osu.Game/Overlays/DirectOverlay.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Overlays/DirectOverlay.cs b/osu.Game/Overlays/DirectOverlay.cs index 64b7a1ac28..8fdc591371 100644 --- a/osu.Game/Overlays/DirectOverlay.cs +++ b/osu.Game/Overlays/DirectOverlay.cs @@ -169,9 +169,9 @@ namespace osu.Game.Overlays resultCountsContainer.FadeTo(ResultCounts == null ? 0f : 1f, 200, EasingTypes.Out); if (ResultCounts == null) return; - resultCountsText.Text = pluralize(@"Artist", ResultCounts?.Artists ?? 0) + ", " + - pluralize(@"Song", ResultCounts?.Songs ?? 0) + ", " + - pluralize(@"Tag", ResultCounts?.Tags ?? 0); + resultCountsText.Text = pluralize(@"Artist", ResultCounts.Artists) + ", " + + pluralize(@"Song", ResultCounts.Songs) + ", " + + pluralize(@"Tag", ResultCounts.Tags); } private string pluralize(string prefix, int value)