mirror of
https://github.com/Sevii77/proper_clipping.git
synced 2025-03-04 03:13:04 -05:00
remove redundant code
This commit is contained in:
parent
5843dd659c
commit
f8f7ecdee6
@ -397,9 +397,7 @@ end)
|
||||
|
||||
-- Handle parented entities spawned with advdupe2
|
||||
hook.Add("AdvDupe_FinishPasting", "proper_clipping", function(dupe)
|
||||
local ents = dupe[1].CreatedEntities
|
||||
for id, data in pairs(dupe[1].EntityList) do
|
||||
local ent = ents[id]
|
||||
for id, ent in pairs(dupe[1].CreatedEntities) do
|
||||
if not ent.Clipped then goto SKIP end
|
||||
|
||||
local norms, dists = {}, {}
|
||||
|
Loading…
Reference in New Issue
Block a user