mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
fix NaN PP on 0 object count
This commit is contained in:
parent
c1da509119
commit
3acbcac4d1
@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
||||
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
|
||||
|
||||
// The effectiveMissCount is calculated by gaining a ratio for totalSuccessfulHits and increasing the miss penalty for shorter object counts lower than 1000.
|
||||
effectiveMissCount = Math.Max(1.0, 1000.0 / totalSuccessfulHits) * countMiss;
|
||||
effectiveMissCount = Math.Max(1.0, Math.Min(0, 1000.0 / totalSuccessfulHits)) * countMiss;
|
||||
|
||||
double multiplier = 1.13;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user