1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:43:01 +08:00

use humanizer for ModEasy lives setting

This commit is contained in:
Liam DeVoe 2020-03-20 16:42:35 -04:00
parent cda1efef0b
commit 6a63ba1bb8

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
@ -28,7 +29,7 @@ namespace osu.Game.Rulesets.Mods
MaxValue = 10
};
public override string SettingDescription => Retries.IsDefault ? "" : $" ({Retries.Value} lives)";
public override string SettingDescription => Retries.IsDefault ? "" : $"{"lives".ToQuantity(Retries.Value)}";
private int retries;