Replace comparison references to HitResult.Miss with IsHit

This commit is contained in:
Bartłomiej Dach
2020-10-02 22:57:49 +02:00
parent 36dbb1b70a
commit 2b1ef16f89
15 changed files with 17 additions and 17 deletions

View File

@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
if (JudgedObject != null)
{
lightingColour = JudgedObject.AccentColour.GetBoundCopy();
lightingColour.BindValueChanged(colour => Lighting.Colour = Result.Type == HitResult.Miss ? Color4.Transparent : colour.NewValue, true);
lightingColour.BindValueChanged(colour => Lighting.Colour = Result.IsHit ? colour.NewValue : Color4.Transparent, true);
}
else
{