get rid of redundant code

This commit is contained in:
Sevii 2020-10-19 11:02:01 +02:00
parent 1eca06cf20
commit a7098c6eb0

View File

@ -323,13 +323,6 @@ duplicator.RegisterEntityModifier("proper_clipping", function(ply, ent, data)
physicss[i] = physics
end
if setmass and data.mass then
local physobj = ent:GetPhysicsObject()
if IsValid(physobj) then
physobj:SetMass(data.mass)
end
end
ProperClipping.AddClip(ent, norms, dists, insides, physicss, true)
if physcount > physmax and physcount ~= math.huge then