mirror of
https://github.com/Sevii77/proper_clipping.git
synced 2025-03-04 03:13:04 -05:00
get rid of redundant code
This commit is contained in:
parent
1eca06cf20
commit
a7098c6eb0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user