mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Remove default skin from the ruleset skin sources
That one doesn't need any changes to it, can be fetched from the `SkinManager` instead.
This commit is contained in:
parent
52ddf08532
commit
74ad6f9117
@ -59,9 +59,6 @@ namespace osu.Game.Skinning
|
||||
// TODO: we also want to return a DefaultLegacySkin here if the current *beatmap* is providing any skinned elements.
|
||||
if (skinManager.CurrentSkin.Value is LegacySkin && skinManager.CurrentSkin.Value != skinManager.DefaultLegacySkin)
|
||||
SkinSources.Add(GetRulesetTransformedSkin(skinManager.DefaultLegacySkin));
|
||||
|
||||
if (skinManager.CurrentSkin.Value != skinManager.DefaultSkin)
|
||||
SkinSources.Add(GetRulesetTransformedSkin(skinManager.DefaultSkin));
|
||||
}
|
||||
|
||||
protected ISkin GetRulesetTransformedSkin(ISkin skin)
|
||||
|
Loading…
Reference in New Issue
Block a user