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

Do not lookup default kiai explosion if skin has own

This commit is contained in:
Bartłomiej Dach 2020-11-10 14:08:27 +01:00 committed by smoogipoo
parent 646833a059
commit 21709ba4bc

View File

@ -114,6 +114,13 @@ namespace osu.Game.Rulesets.Taiko.Skinning
return null; return null;
case TaikoSkinComponents.TaikoExplosionKiai:
// suppress the default kiai explosion if the skin brings its own sprites.
if (hasExplosion.Value)
return Drawable.Empty();
return null;
case TaikoSkinComponents.Scroller: case TaikoSkinComponents.Scroller:
if (GetTexture("taiko-slider") != null) if (GetTexture("taiko-slider") != null)
return new LegacyTaikoScroller(); return new LegacyTaikoScroller();