remove unused using directive

This commit is contained in:
Liam DeVoe 2020-03-20 16:57:37 -04:00
parent e84b40f8ed
commit ac202ba7ea

View File

@ -7,7 +7,6 @@ using osu.Framework.Graphics.Sprites;
using System;
using System.Collections.Generic;
using osu.Game.Configuration;
using System.Linq;
namespace osu.Game.Rulesets.Mods
{
@ -60,7 +59,7 @@ namespace osu.Game.Rulesets.Mods
string drainRate = DrainRate.IsDefault ? "" : $"HP {DrainRate.Value.ToString()}";
string overallDifficulty = OverallDifficulty.IsDefault ? "" : $"OD {OverallDifficulty.Value.ToString()}";
string[] settings = new string[] { drainRate, overallDifficulty };
string[] settings = { drainRate, overallDifficulty };
// filter out empty strings so we don't have orphaned commas
settings = Array.FindAll(settings, s => !string.IsNullOrEmpty(s));
return string.Join(", ", settings);