1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 23:12:56 +08:00

Remove description from mod search terms

Closes https://github.com/ppy/osu/issues/27111.
This commit is contained in:
Bartłomiej Dach 2024-02-22 10:56:50 +01:00
parent 0fff9d4937
commit 84fdcd24ef
No known key found for this signature in database

View File

@ -77,12 +77,11 @@ namespace osu.Game.Overlays.Mods
/// <seealso cref="ModState.Visible"/> /// <seealso cref="ModState.Visible"/>
public bool Visible => modState.Visible; public bool Visible => modState.Visible;
public override IEnumerable<LocalisableString> FilterTerms => new[] public override IEnumerable<LocalisableString> FilterTerms => new LocalisableString[]
{ {
Mod.Name, Mod.Name,
Mod.Name.Replace(" ", string.Empty), Mod.Name.Replace(" ", string.Empty),
Mod.Acronym, Mod.Acronym,
Mod.Description
}; };
public override bool MatchingFilter public override bool MatchingFilter