Merge pull request #14269 from peppy/remove-unnecessary-delimiters

Fix searches at song select with '!' or ',' not matching as expected
This commit is contained in:
Dan Balasescu
2021-08-13 18:00:11 +09:00
committed by GitHub

View File

@ -56,7 +56,7 @@ namespace osu.Game.Screens.Select
set
{
searchText = value;
SearchTerms = searchText.Split(new[] { ',', ' ', '!' }, StringSplitOptions.RemoveEmptyEntries).ToArray();
SearchTerms = searchText.Split(' ', StringSplitOptions.RemoveEmptyEntries).ToArray();
SearchNumber = null;