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:
parent
a3301dc7ff
commit
9d928c0225
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user