mirror of
https://github.com/Winded/RagdollMover.git
synced 2025-03-04 03:13:36 -05:00
Forgot to remove some of the things I've left in related to some feature I've decided not to implement for now
This commit is contained in:
parent
b93b57f7b6
commit
93e86bcb66
@ -1332,9 +1332,7 @@ local NETFUNC = {
|
||||
function(len, pl) -- 16 - rgmResetAllBones
|
||||
local ent = net.ReadEntity()
|
||||
|
||||
if not RAGDOLLMOVER[pl] then return end
|
||||
if not rgmCanTool(ent, pl) then return end
|
||||
local plTable = RAGDOLLMOVER[pl]
|
||||
|
||||
for i = 0, ent:GetBoneCount() - 1 do
|
||||
local pos, ang, scale = ent:GetManipulateBonePosition(i), ent:GetManipulateBoneAngles(i), ent:GetManipulateBoneScale(i) -- Grabbing existing vectors as to not create new ones, in case ManipulateBone functions were overriden by something like Advanced Bonemerge
|
||||
|
Loading…
Reference in New Issue
Block a user