Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lua/entities/gmod_wire_expression2/core/custom/prop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1146,16 +1146,15 @@ e2function void entity:ragdollFreeze(isFrozen)
end

__e2setcost(5)

e2function angle entity:ragdollGetAng()
if not ValidAction(self, this) then return end

local phys = this:GetPhysicsObject()

return phys:IsValid() and phys:GetAngles() or self:throw("Tried to use entity without physics", Angle())
end

__e2setcost(150)

e2function void entity:ragdollSetPos(vector pos)
if not ValidAction(self, this, "pos") then return end

Expand Down
Loading