mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Fix old-new standardised score conversion missing some scores due to not rounding correctly
This commit is contained in:
parent
f5eb629709
commit
94b7de4b3f
@ -182,7 +182,7 @@ namespace osu.Game.Database
|
|||||||
foreach (var mod in score.Mods)
|
foreach (var mod in score.Mods)
|
||||||
modMultiplier *= mod.ScoreMultiplier;
|
modMultiplier *= mod.ScoreMultiplier;
|
||||||
|
|
||||||
return (long)((1000000 * (accuracyPortion * accuracyScore + (1 - accuracyPortion) * comboScore) + bonusScore) * modMultiplier);
|
return (long)Math.Round((1000000 * (accuracyPortion * accuracyScore + (1 - accuracyPortion) * comboScore) + bonusScore) * modMultiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class FakeHit : HitObject
|
private class FakeHit : HitObject
|
||||||
|
Loading…
Reference in New Issue
Block a user