mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
use humanizer for ModEasy lives setting
This commit is contained in:
parent
cda1efef0b
commit
6a63ba1bb8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user