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

Apply NRT to BreakInfoLine

This commit is contained in:
Joseph Madamba 2023-07-29 10:39:50 -07:00
parent a3301dc7ff
commit 9d928c0225

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
@ -71,7 +69,7 @@ namespace osu.Game.Screens.Play.Break
if (count is Enum countEnum)
return countEnum.GetDescription();
return count.ToString();
return count.ToString() ?? string.Empty;
}
[BackgroundDependencyLoader]