enforce precision for ModDifficultyAdjust and derived classes

This commit is contained in:
Liam DeVoe
2020-03-22 21:22:46 -04:00
parent 63e9b2a299
commit 67667b3d22
3 changed files with 6 additions and 6 deletions

View File

@ -57,8 +57,8 @@ namespace osu.Game.Rulesets.Mods
{
get
{
string drainRate = DrainRate.IsDefault ? string.Empty : $"HP {DrainRate.Value}";
string overallDifficulty = OverallDifficulty.IsDefault ? string.Empty : $"OD {OverallDifficulty.Value}";
string drainRate = DrainRate.IsDefault ? string.Empty : $"HP {DrainRate.Value:0.#}";
string overallDifficulty = OverallDifficulty.IsDefault ? string.Empty : $"OD {OverallDifficulty.Value:0.#}";
return string.Join(", ", new[]
{