revert movement of is mania skin check statements

This commit is contained in:
mcendu 2020-06-13 18:45:06 +08:00
parent dd1fbccdf4
commit 5655e090d1

View File

@ -78,8 +78,6 @@ namespace osu.Game.Rulesets.Mania.Skinning
public Drawable GetDrawableComponent(ISkinComponent component)
{
if (!isLegacySkin.Value || !hasKeyTexture.Value)
return null;
switch (component)
{
@ -87,6 +85,9 @@ namespace osu.Game.Rulesets.Mania.Skinning
return getResult(resultComponent.Component);
case ManiaSkinComponent maniaComponent:
if (!isLegacySkin.Value || !hasKeyTexture.Value)
return null;
switch (maniaComponent.Component)
{
case ManiaSkinComponents.ColumnBackground: