From a392a37fcd4d44b259c20a83a9ed763db8aa5b64 Mon Sep 17 00:00:00 2001 From: rarified Date: Fri, 25 Feb 2022 13:07:15 -0700 Subject: [PATCH] Revert "Change to ReadFromFile command per rarified" This reverts commit f90ab01d44b0d1743f1eeb63219065e2959eab09. --- Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp b/Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp index 7bd26690..c903fe4d 100644 --- a/Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp +++ b/Sources/Plasma/FeatureLib/pfPython/cyAvatar.cpp @@ -1647,7 +1647,7 @@ bool cyAvatar::LoadClothingFromFile(plFileName filename) if (!filename.StripFileName().IsValid()) filename = plFileName::Join(plFileSystem::GetUserDataPath(), "Avatars", filename); cl->SetClothingFile(filename); - return cl->ReadFromFile(); + return cl->ReadClothing(); } } }