Skip to content

Commit

Permalink
Fix Mods filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kinsi55 committed Sep 2, 2023
1 parent 13990fb commit e12fd24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions UI/FilterView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<object, MapMods> funnyMapThing = Enumerable.Range(1, 4)
.ToDictionary(x => FilterOptions.modOptions[x], x => (MapMods)x);
static readonly IReadOnlyDictionary<object, MapMods> funnyMapThing = Enumerable.Range(0, 4)
.ToDictionary(x => FilterOptions.modOptions[x], x => (MapMods)(1 << x));

static readonly IReadOnlyDictionary<string, RankedStates> funnyMapThing2 = Enumerable.Range(0, 4)
.ToDictionary(x => (string)FilterOptions.rankedFilterOptions[x + 1], x => (RankedStates)(1 << x));
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit e12fd24

Please sign in to comment.