Skip to content

Commit

Permalink
exception fix regarding the library filter, thanks to A New Home
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed Feb 14, 2021
1 parent 287969a commit 9907bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARKBreedingStats/Form1.library.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ private void FilterLib()
|| (c.owner?.IndexOf(f, StringComparison.InvariantCultureIgnoreCase) ?? -1) != -1
|| (c.tribe?.IndexOf(f, StringComparison.InvariantCultureIgnoreCase) ?? -1) != -1
|| (c.note?.IndexOf(f, StringComparison.InvariantCultureIgnoreCase) ?? -1) != -1
|| c.ArkIdInGame.StartsWith(f)
|| (c.ArkIdInGame?.StartsWith(f) ?? false)
|| (c.server?.IndexOf(f, StringComparison.InvariantCultureIgnoreCase) ?? -1) != -1
|| (c.tags?.Any(t => string.Equals(t, f, StringComparison.InvariantCultureIgnoreCase)) ?? false)
));
Expand Down

0 comments on commit 9907bd5

Please sign in to comment.