mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 20:22:56 +08:00
fixed negative hitwindows
This commit is contained in:
parent
851adf0073
commit
93339ea201
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user