mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
remove redundant ToString call
This commit is contained in:
parent
afe7397d89
commit
889608a408
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user