diff --git a/lua/wire/server/wirelib.lua b/lua/wire/server/wirelib.lua index 141185ed27..b37638270e 100644 --- a/lua/wire/server/wirelib.lua +++ b/lua/wire/server/wirelib.lua @@ -994,26 +994,6 @@ function WireLib.GetOwner(ent) return E2Lib.getOwner({}, ent) end -function WireLib.dummytrace(ent) - local pos = ent:GetPos() - return { - FractionLeftSolid = 0, - HitNonWorld = true, - Fraction = 0, - Entity = ent, - HitPos = pos, - HitNormal = Vector(0,0,0), - HitBox = 0, - Normal = Vector(1,0,0), - Hit = true, - HitGroup = 0, - MatType = 0, - StartPos = pos, - PhysicsBone = 0, - WorldToLocal = Vector(0,0,0), - } -end - function WireLib.NumModelSkins(model) if NumModelSkins then return NumModelSkins(model) diff --git a/lua/wire/wireshared.lua b/lua/wire/wireshared.lua index 2b7f493517..38ce95ed43 100644 --- a/lua/wire/wireshared.lua +++ b/lua/wire/wireshared.lua @@ -144,6 +144,26 @@ end -- end extra table functions +function WireLib.dummytrace(ent) + local pos = ent:GetPos() + return { + FractionLeftSolid = 0, + HitNonWorld = true, + Fraction = 0, + Entity = ent, + HitPos = pos, + HitNormal = Vector(0,0,0), + HitBox = 0, + Normal = Vector(1,0,0), + Hit = true, + HitGroup = 0, + MatType = 0, + StartPos = pos, + PhysicsBone = 0, + WorldToLocal = Vector(0,0,0), + } +end + local table = table local pairs_sortvalues = pairs_sortvalues local ipairs_map = ipairs_map