mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 07:43:00 +08:00
Add checks for taiko drain rate
This commit is contained in:
parent
8fb308c192
commit
e7cf1ab4df
@ -21,6 +21,12 @@ namespace osu.Game.Rulesets.Taiko.Edit.Checks
|
||||
|
||||
if (OutOfRange(diff.OverallDifficulty))
|
||||
yield return new IssueTemplateOutOfRange(this).Create("Overall difficulty", diff.OverallDifficulty);
|
||||
|
||||
if (HasMoreThanOneDecimalPlace(diff.DrainRate))
|
||||
yield return new IssueTemplateMoreThanOneDecimal(this).Create("Drain rate", diff.DrainRate);
|
||||
|
||||
if (OutOfRange(diff.DrainRate))
|
||||
yield return new IssueTemplateOutOfRange(this).Create("Drain rate", diff.DrainRate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user