Skip to content

Commit

Permalink
Merge pull request #1996 from thegrb93/fix-spam
Browse files Browse the repository at this point in the history
Fix net spam caused by setting WirePaths to nil
  • Loading branch information
Sparky authored Nov 8, 2019
2 parents e3fa910 + fe41045 commit ffd3d8d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/wire/wire_paths.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if CLIENT then
if path.Width<=0 then
if path.Entity.WirePaths then
path.Entity.WirePaths[path.Name] = nil
if not next(path.Entity.WirePaths) then path.Entity.WirePaths = nil end
end
return
end
Expand Down

0 comments on commit ffd3d8d

Please sign in to comment.