mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Ensure background rotation on default skins
This commit is contained in:
parent
5487012060
commit
a801a9a14d
@ -116,6 +116,10 @@ namespace osu.Game.Screens.Backgrounds
|
||||
}
|
||||
|
||||
case BackgroundSource.Skin:
|
||||
// default skins should use the default background rotation, which won't be the case if a SkinBackground is created for them.
|
||||
if (skin.Value is DefaultSkin || skin.Value is DefaultLegacySkin)
|
||||
break;
|
||||
|
||||
newBackground = new SkinBackground(skin.Value, getBackgroundTextureName());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user