1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 23:53:00 +08:00

fixed negative hitwindows

This commit is contained in:
Givikap120 2024-10-14 14:52:17 +03:00
parent 851adf0073
commit 93339ea201

View File

@ -88,7 +88,7 @@ namespace osu.Game.Rulesets.Scoring
{
double value = IBeatmapDifficultyInfo.DifficultyRange(difficulty, (range.Min, range.Average, range.Max));
value = Math.Floor(value) - 0.5;
return value;
return Math.Max(0, value);
}
/// <summary>