1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 03:20:16 +08:00

simplify bool check

This commit is contained in:
Hivie
2025-08-01 22:03:49 +01:00
Unverified
parent 0d2618082d
commit 8d76ebae29
+1 -1
View File
@@ -139,7 +139,7 @@ namespace osu.Game.Screens.Edit.Verify
private IEnumerable<Issue> filterByScope(IEnumerable<Issue> issues, bool generalOnly)
{
return issues.Where(issue =>
generalOnly ? issue.Check is IGeneralCheck : issue.Check is ICheck && issue.Check is not IGeneralCheck);
generalOnly ? issue.Check is IGeneralCheck : issue.Check is not IGeneralCheck);
}
}
}