mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 16:12:53 +08:00
Return null for greatprobability >= 1
This commit is contained in:
parent
01c79d8ef2
commit
7403c1cc86
@ -120,7 +120,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
||||
|
||||
double greatProbability = 1 - (countOk + countMiss + 1.0) / (totalHits + 1.0);
|
||||
|
||||
if (greatProbability <= 0)
|
||||
if (greatProbability <= 0 || greatProbability >= 1)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user