1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 02:53:21 +08:00

Merge pull request #30917 from bdach/fix-incorrect-taiko-legacy-combo

Fix strong drum rolls being counted for double the combo in legacy scoring attributes
This commit is contained in:
Dean Herbert 2024-12-02 20:08:49 -08:00 committed by GitHub
commit ce4aac4184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,6 +144,13 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
foreach (var nested in hitObject.NestedHitObjects)
simulateHit(nested, ref attributes);
return;
case StrongNestedHitObject:
// we never need to deal with these directly.
// the only thing strong hits do in terms of scoring is double their object's score increase,
// which is already handled at the parent object level via the `strongable.IsStrong` check lower down in this method.
// not handling these here can lead to them falsely being counted as combo-increasing when handling strong drum rolls!
return;
}
if (hitObject is DrumRollTick tick)