Skip to content

Commit

Permalink
Fixed search bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed May 2, 2023
1 parent 017754d commit 02ad96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Script/UI/MusicLibrary/SongSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public void UpdateSearch() {
searched = true;
songsOut = songsOut
.Select(i => new { score = Search(arg, i), songInfo = i })
.Where(i => i.score > 0)
.Where(i => i.score >= 0)
.OrderBy(i => i.score)
.Select(i => i.songInfo);
}
Expand Down

0 comments on commit 02ad96b

Please sign in to comment.