mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:47:33 +08:00
Remove result nullable check
This commit is contained in:
parent
13205319f3
commit
0a61f80c8b
@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
if (JudgedObject != null && lighting != null)
|
if (JudgedObject != null && lighting != null)
|
||||||
{
|
{
|
||||||
lightingColour = JudgedObject.AccentColour.GetBoundCopy();
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user