mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 20:23:00 +08:00
Move TODO comment to correct location
This commit is contained in:
parent
8132852753
commit
2e01e61177
@ -56,6 +56,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
SkinSources.Add(Ruleset.CreateLegacySkinProvider(skinManager.CurrentSkin.Value, Beatmap));
|
||||
|
||||
// TODO: we also want to return a DefaultLegacySkin here if the current *beatmap* is providing any skinned elements.
|
||||
if (skinManager.CurrentSkin.Value is LegacySkin)
|
||||
SkinSources.Add(Ruleset.CreateLegacySkinProvider(skinManager.DefaultLegacySkin, Beatmap));
|
||||
|
||||
|
@ -247,9 +247,6 @@ namespace osu.Game.Skinning
|
||||
if (lookupFunction(CurrentSkin.Value) is T skinSourced)
|
||||
return skinSourced;
|
||||
|
||||
// TODO: we also want to return a DefaultLegacySkin here if the current *beatmap* is providing any skinned elements.
|
||||
// When attempting to address this, we may want to move the full DefaultLegacySkin fallback logic to within Player itself (to better allow
|
||||
// for beatmap skin visibility).
|
||||
if (CurrentSkin.Value is LegacySkin && lookupFunction(DefaultLegacySkin) is T legacySourced)
|
||||
return legacySourced;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user