From 2b7eb5626cfb321b54ae0be7a7b9a3049a20f2c2 Mon Sep 17 00:00:00 2001 From: smallketchup82 Date: Fri, 11 Oct 2024 14:14:06 -0400 Subject: [PATCH] Rename oldskin --- osu.Game/Overlays/SkinEditor/SkinEditor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Overlays/SkinEditor/SkinEditor.cs b/osu.Game/Overlays/SkinEditor/SkinEditor.cs index ef76cd0378..3d287d04d3 100644 --- a/osu.Game/Overlays/SkinEditor/SkinEditor.cs +++ b/osu.Game/Overlays/SkinEditor/SkinEditor.cs @@ -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;