1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 17:03:18 +08:00

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)) if (!(e.Child is DrawableHitObject hitObject))
return; return;
if (e.Kind == LifetimeBoundaryKind.End && e.Direction == LifetimeBoundaryCrossingDirection.Forward if ((e.Kind == LifetimeBoundaryKind.End && e.Direction == LifetimeBoundaryCrossingDirection.Forward)
|| e.Kind == LifetimeBoundaryKind.Start && e.Direction == LifetimeBoundaryCrossingDirection.Backward) || (e.Kind == LifetimeBoundaryKind.Start && e.Direction == LifetimeBoundaryCrossingDirection.Backward))
{ {
hitObject.OnKilled(); hitObject.OnKilled();
} }