1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +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
parent 35763a74fd
commit 0387d994bd

View File

@ -114,6 +114,13 @@ namespace osu.Game.Rulesets.Taiko.Skinning
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:
if (GetTexture("taiko-slider") != null)
return new LegacyTaikoScroller();