mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +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();
|
||||
if (strongObject != null)
|
||||
{
|
||||
var vis = CreateStrongHit(strongObject);
|
||||
if (vis != null)
|
||||
{
|
||||
AddNested(vis);
|
||||
AddInternal(vis);
|
||||
}
|
||||
var strongHit = CreateStrongHit(strongObject);
|
||||
|
||||
AddNested(strongHit);
|
||||
AddInternal(strongHit);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user