mirror of
https://github.com/ppy/osu
synced 2025-01-24 23:03:14 +00:00
revert movement of is mania skin check statements
This commit is contained in:
parent
dd1fbccdf4
commit
5655e090d1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user