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

remove redundant ToString call

This commit is contained in:
Liam DeVoe 2020-03-22 22:51:29 -04:00
parent afe7397d89
commit 889608a408

View File

@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Mods
{
object bindableObj = property.GetValue(this);
bool? settingIsDefault = (bindableObj as IHasDefaultValue)?.IsDefault;
string tooltipText = settingIsDefault == true ? string.Empty : attr.Label + " " + bindableObj.ToString();
string tooltipText = settingIsDefault == true ? string.Empty : attr.Label + " " + bindableObj;
tooltipTexts.Add(tooltipText);
}