From fe410459ac5c03b95435224a88d9289cfa5829e8 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Thu, 7 Nov 2019 22:03:17 -0500 Subject: [PATCH] Fix net spam caused by setting WirePaths to nil --- lua/wire/wire_paths.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/wire/wire_paths.lua b/lua/wire/wire_paths.lua index 0344853cfc..74f4761038 100644 --- a/lua/wire/wire_paths.lua +++ b/lua/wire/wire_paths.lua @@ -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