mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
Remove description from mod search terms
Closes https://github.com/ppy/osu/issues/27111.
This commit is contained in:
parent
0fff9d4937
commit
84fdcd24ef
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user