mirror of https://github.com/ppy/osu
Remove unused utils class
This commit is contained in:
parent
fc1877b6fa
commit
3d0caa44c8
|
@ -1,22 +0,0 @@
|
|||
// 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.
|
||||
|
||||
using System;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace osu.Game.Utils
|
||||
{
|
||||
public static class ScoreboardTimeUtils
|
||||
{
|
||||
|
||||
private static string formatQuantity(string template, int quantity)
|
||||
{
|
||||
if (quantity <= 1)
|
||||
return $@"{quantity}{template}";
|
||||
|
||||
return $@"{quantity}{template}s";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue