1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-07 23:07:01 +09:00

Merge pull request #267 from wulpine/catch-populate-acc

Populate accuracy-related fields for osu!catch scores
This commit is contained in:
StanR 2025-06-03 13:11:34 +03:00 committed by GitHub
commit e2ab359eda
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -1044,6 +1044,21 @@ namespace PerformanceCalculatorGUI.Screens
mehsTextBox.Text = mehs.ToString();
}
if (ruleset.Value?.ShortName == "fruits")
{
if (scoreInfo.Statistics.TryGetValue(HitResult.LargeTickHit, out int largeTickHits))
{
goodsTextBox.Value.Value = largeTickHits;
goodsTextBox.Text = largeTickHits.ToString();
}
if (scoreInfo.Statistics.TryGetValue(HitResult.SmallTickHit, out int smallTickHits))
{
mehsTextBox.Value.Value = smallTickHits;
mehsTextBox.Text = smallTickHits.ToString();
}
}
if (scoreInfo.Statistics.TryGetValue(HitResult.LargeTickMiss, out int largeTickMisses))
{
largeTickMissesTextBox.Value.Value = largeTickMisses;