function rename and delete unnecessary return
fixHeadTexture is renamed to fixiBotTexture applyHeadDescription now only return targetMesh
This commit is contained in:
+2
-2
@@ -44,10 +44,10 @@ function convert.applyHeadDescription(humDesc: HumanoidDescription): ()
|
||||
|
||||
humDesc.Head = targetMesh
|
||||
humDesc.Face = face
|
||||
return targetMesh, face
|
||||
return targetMesh
|
||||
end
|
||||
|
||||
function convert.fixHeadTexture(humanoid: Humanoid, targetMesh: number): ()
|
||||
function convert.fixiBotTexture(humanoid: Humanoid, targetMesh: number): ()
|
||||
-- iBot's texture is not correctly restored
|
||||
if targetMesh == meshByName["iBot"] then
|
||||
local head = humanoid.Parent:FindFirstChild("Head")
|
||||
|
||||
Reference in New Issue
Block a user