1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:53:51 +08:00

Merge pull request #16541 from peppy/carousel-search-performance-simple

Avoid performing keyword filtering at song select unless keywords are specified
This commit is contained in:
Dan Balasescu 2022-01-21 13:35:43 +09:00 committed by GitHub
commit d6d9efae60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ namespace osu.Game.Screens.Select.Carousel
match &= !criteria.UserStarDifficulty.HasFilter || criteria.UserStarDifficulty.IsInRange(BeatmapInfo.StarRating);
if (match)
if (match && criteria.SearchTerms.Length > 0)
{
string[] terms = BeatmapInfo.GetSearchableTerms();