Skip to content

Commit

Permalink
Fix a Case Invariance problem in Mod Browser Install States
Browse files Browse the repository at this point in the history
  • Loading branch information
Solxanich committed Nov 11, 2023
1 parent 45ada74 commit bb8f1e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public List<ModDownloadItem> GetInstalledModDownloadItems()

internal LocalMod IsItemInstalled(string slug)
{
return GetInstalledMods().Where(t => t.Name == slug).FirstOrDefault();
return GetInstalledMods().Where(t => string.Equals(t.Name, slug, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
}

/////// Management of Downloads ///////////////////////////////////////////
Expand Down

0 comments on commit bb8f1e9

Please sign in to comment.