mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 23:33:23 +08:00
Add note about skin migrations being on read and remove an older deprecation notice
This commit is contained in:
parent
1629c86b5d
commit
18700b4daa
@ -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 that fails, attempt to deserialise using the old naked list.
|
||||||
if (layoutInfo == null)
|
if (layoutInfo == null)
|
||||||
{
|
{
|
||||||
// handle namespace changes...
|
// 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.SongProgress", @"osu.Game.Screens.Play.HUD.DefaultSongProgress");
|
||||||
jsonContent = jsonContent.Replace(@"osu.Game.Screens.Play.HUD.LegacyComboCounter", @"osu.Game.Skinning.LegacyComboCounter");
|
jsonContent = jsonContent.Replace(@"osu.Game.Screens.Play.HUD.LegacyComboCounter", @"osu.Game.Skinning.LegacyComboCounter");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user