1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Add note about skin migrations being on read and remove an older deprecation notice

This commit is contained in:
Dean Herbert 2023-02-20 19:51:54 +09:00
parent 1629c86b5d
commit 18700b4daa

View File

@ -125,11 +125,15 @@ namespace osu.Game.Skinning
{
}
// Of note, the migration code below runs on read of skins, but there's nothing to
// force a rewrite after migration. Let's not remove these migration rules until we
// have something in place to ensure we don't end up breaking skins of users that haven't
// manually saved their skin since a change was implemented.
// if that fails, attempt to deserialise using the old naked list.
if (layoutInfo == null)
{
// handle namespace changes...
// can be removed 2023-01-31
jsonContent = jsonContent.Replace(@"osu.Game.Screens.Play.SongProgress", @"osu.Game.Screens.Play.HUD.DefaultSongProgress");
jsonContent = jsonContent.Replace(@"osu.Game.Screens.Play.HUD.LegacyComboCounter", @"osu.Game.Skinning.LegacyComboCounter");