mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Fix codefactor issues
This commit is contained in:
parent
2d6a3b8e2b
commit
b132734f9c
@ -27,21 +27,18 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
if (isOutOfRange(diff.ApproachRate))
|
||||
yield return new IssueTemplateOutOfRange(this).Create("Approach rate", diff.ApproachRate);
|
||||
|
||||
|
||||
if (hasMoreThanOneDecimalPlace(diff.OverallDifficulty))
|
||||
yield return new IssueTemplateMoreThanOneDecimal(this).Create("Overall difficulty", diff.OverallDifficulty);
|
||||
|
||||
if (isOutOfRange(diff.OverallDifficulty))
|
||||
yield return new IssueTemplateOutOfRange(this).Create("Overall difficulty", diff.OverallDifficulty);
|
||||
|
||||
|
||||
if (hasMoreThanOneDecimalPlace(diff.CircleSize))
|
||||
yield return new IssueTemplateMoreThanOneDecimal(this).Create("Circle size", diff.CircleSize);
|
||||
|
||||
if (ruleset != "mania" && isOutOfRange(diff.CircleSize))
|
||||
yield return new IssueTemplateOutOfRange(this).Create("Circle size", diff.CircleSize);
|
||||
|
||||
|
||||
if (hasMoreThanOneDecimalPlace(diff.DrainRate))
|
||||
yield return new IssueTemplateMoreThanOneDecimal(this).Create("Drain rate", diff.DrainRate);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user