1
0
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:
Bartłomiej Dach 2024-03-26 10:58:39 +01:00
parent 8fb308c192
commit e7cf1ab4df
No known key found for this signature in database

View File

@ -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);
}
}
}