mirror of
https://github.com/osukey/osukey.git
synced 2025-05-15 18:47:33 +09: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)
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user