1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Cleanup strong hit construction

This commit is contained in:
smoogipoo 2018-08-14 14:29:49 +09:00
parent 732dfde8ed
commit 1a35506386

View File

@ -105,12 +105,10 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
var strongObject = HitObject.NestedHitObjects.OfType<StrongHitObject>().FirstOrDefault(); var strongObject = HitObject.NestedHitObjects.OfType<StrongHitObject>().FirstOrDefault();
if (strongObject != null) if (strongObject != null)
{ {
var vis = CreateStrongHit(strongObject); var strongHit = CreateStrongHit(strongObject);
if (vis != null)
{ AddNested(strongHit);
AddNested(vis); AddInternal(strongHit);
AddInternal(vis);
}
} }
} }