1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 06:47:19 +08:00

Remove result nullable check

This commit is contained in:
Dean Herbert 2020-07-10 22:39:35 +09:00
parent 13205319f3
commit 0a61f80c8b

View File

@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
if (JudgedObject != null && lighting != 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.Type == HitResult.Miss ? Color4.Transparent : colour.NewValue, true);
}
else
{