mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 17:29:56 +09:00
revert movement of is mania skin check statements
This commit is contained in:
@ -78,8 +78,6 @@ namespace osu.Game.Rulesets.Mania.Skinning
|
|||||||
|
|
||||||
public Drawable GetDrawableComponent(ISkinComponent component)
|
public Drawable GetDrawableComponent(ISkinComponent component)
|
||||||
{
|
{
|
||||||
if (!isLegacySkin.Value || !hasKeyTexture.Value)
|
|
||||||
return null;
|
|
||||||
|
|
||||||
switch (component)
|
switch (component)
|
||||||
{
|
{
|
||||||
@ -87,6 +85,9 @@ namespace osu.Game.Rulesets.Mania.Skinning
|
|||||||
return getResult(resultComponent.Component);
|
return getResult(resultComponent.Component);
|
||||||
|
|
||||||
case ManiaSkinComponent maniaComponent:
|
case ManiaSkinComponent maniaComponent:
|
||||||
|
if (!isLegacySkin.Value || !hasKeyTexture.Value)
|
||||||
|
return null;
|
||||||
|
|
||||||
switch (maniaComponent.Component)
|
switch (maniaComponent.Component)
|
||||||
{
|
{
|
||||||
case ManiaSkinComponents.ColumnBackground:
|
case ManiaSkinComponents.ColumnBackground:
|
||||||
|
Reference in New Issue
Block a user