MainForm - [HandleSkinFile] Rename some varibale names

This commit is contained in:
miku-666
2025-02-05 19:14:46 +01:00
parent bf48d879d5
commit 38218ef2f6

View File

@@ -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();
}
}