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:
parent
732dfde8ed
commit
1a35506386
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user