1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 18:31:01 +08:00

Rename oldskin

This commit is contained in:
smallketchup82
2024-10-11 14:14:06 -04:00
Unverified
parent ee16c964dc
commit 2b7eb5626c
+3 -3
View File
@@ -322,14 +322,14 @@ namespace osu.Game.Overlays.SkinEditor
Schedule(() =>
{
var oldskin = currentSkin.Value;
var newSkinInfo = oldskin.SkinInfo.PerformRead(s => s);
var oldSkin = currentSkin.Value;
var newSkinInfo = oldSkin.SkinInfo.PerformRead(s => s);
// Create a new skin instance to ensure the skin is reloaded
// If there's a better way to reload the skin, this should be replaced with it.
currentSkin.Value = newSkinInfo.CreateInstance(skins);
oldskin.Dispose();
oldSkin.Dispose();
mountMenuItem.Action.Disabled = false;
mountMenuItem.Text.Value = EditorStrings.EditExternally;