diff --git a/UI/FilterView.cs b/UI/FilterView.cs index cd2419f..1a95dd4 100644 --- a/UI/FilterView.cs +++ b/UI/FilterView.cs @@ -99,8 +99,8 @@ internal void SetFilter(FilterOptions filter = null) { #region filters static bool requiresScore => (currentFilter.existingScore == (string)FilterOptions.scoreFilterOptions[2]) || SongListController.selectedSortMode == "Worst local score"; - static readonly IReadOnlyDictionary funnyMapThing = Enumerable.Range(1, 4) - .ToDictionary(x => FilterOptions.modOptions[x], x => (MapMods)x); + static readonly IReadOnlyDictionary funnyMapThing = Enumerable.Range(0, 4) + .ToDictionary(x => FilterOptions.modOptions[x], x => (MapMods)(1 << x)); static readonly IReadOnlyDictionary funnyMapThing2 = Enumerable.Range(0, 4) .ToDictionary(x => (string)FilterOptions.rankedFilterOptions[x + 1], x => (RankedStates)(1 << x)); diff --git a/manifest.json b/manifest.json index 922c05d..e5679cf 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "id": "BetterSongSearch", "name": "BetterSongSearch", "author": "Kinsi55", - "version": "0.7.83", + "version": "0.7.84", "description": "Search and download songs with a lot of filtering and sorting options and without frustration!", "gameVersion": "1.19.0", "dependsOn": {