We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b432a0 commit dd98385Copy full SHA for dd98385
1 file changed
lua/entities/gmod_wire_expression2/core/entity.lua
@@ -734,6 +734,7 @@ e2function void entity:applyTorque(vector torque)
734
if not validPhysics(this) then return self:throw("Invalid physics object!", nil) end
735
if not isOwner(self, this) then return self:throw("You do not own this entity!", nil) end
736
if torque:IsZero() then return end
737
+ torque = clamp(torque)
738
739
local phys = this:GetPhysicsObject()
740
0 commit comments