mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Also check for AffectsCombo to avoid too many passing switches
This commit is contained in:
parent
9b8589583c
commit
1a31e1f10f
@ -35,8 +35,12 @@ namespace osu.Game.Rulesets.Taiko.Skinning
|
||||
|
||||
LastResult.BindValueChanged(result =>
|
||||
{
|
||||
var r = result.NewValue;
|
||||
|
||||
bool passing = r == null || (r.Judgement.AffectsCombo && r.Type > HitResult.Miss);
|
||||
|
||||
foreach (var sprite in InternalChildren.OfType<ScrollerSprite>())
|
||||
sprite.Passing = result.NewValue == null || result.NewValue.Type > HitResult.Miss;
|
||||
sprite.Passing = passing;
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user