Add TODO about beatmap skin fallback support

This commit is contained in:
Dean Herbert 2021-06-08 12:12:14 +09:00
parent 88b87b98a8
commit 27e3de3ea3

View File

@ -235,6 +235,9 @@ namespace osu.Game.Skinning
if (selectedSkin != null)
return selectedSkin;
// 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)
return func(defaultLegacySkin);