From 38218ef2f6d82eaac039e2c10c3b5ea8f8f1ced1 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Wed, 5 Feb 2025 19:14:46 +0100 Subject: [PATCH] MainForm - [HandleSkinFile] Rename some varibale names --- PCK-Studio/MainForm.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 5c73f08c..82dc8621 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -727,10 +727,10 @@ namespace PckStudio Skin skin = asset.GetSkin(); if (asset.HasProperty("CAPEPATH")) { - string capePath = asset.GetProperty("CAPEPATH"); - if (currentPCK.TryGetAsset(capePath, PckAssetType.CapeFile, out PckAsset cape)) + string capeAssetPath = asset.GetProperty("CAPEPATH"); + if (currentPCK.TryGetAsset(capeAssetPath, PckAssetType.CapeFile, out PckAsset capeAsset)) { - skin.CapeTexture = cape.GetTexture(); + skin.CapeTexture = capeAsset.GetTexture(); } }