Add more brackets

This commit is contained in:
Dean Herbert 2019-07-17 22:38:17 +09:00
parent cc3492f8f2
commit f1423b8cb5

View File

@ -37,8 +37,8 @@ namespace osu.Game.Rulesets.UI
if (!(e.Child is DrawableHitObject hitObject))
return;
if (e.Kind == LifetimeBoundaryKind.End && e.Direction == LifetimeBoundaryCrossingDirection.Forward
|| e.Kind == LifetimeBoundaryKind.Start && e.Direction == LifetimeBoundaryCrossingDirection.Backward)
if ((e.Kind == LifetimeBoundaryKind.End && e.Direction == LifetimeBoundaryCrossingDirection.Forward)
|| (e.Kind == LifetimeBoundaryKind.Start && e.Direction == LifetimeBoundaryCrossingDirection.Backward))
{
hitObject.OnKilled();
}