1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 09:50:13 +08:00

use humanizer for ModEasy lives setting

This commit is contained in:
Liam DeVoe
2020-03-20 16:42:35 -04:00
Unverified
parent cda1efef0b
commit 6a63ba1bb8
+2 -1
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;