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();
if (strongObject != null)
{
var vis = CreateStrongHit(strongObject);
if (vis != null)
{
AddNested(vis);
AddInternal(vis);
}
var strongHit = CreateStrongHit(strongObject);
AddNested(strongHit);
AddInternal(strongHit);
}
}