diff --git a/lua/entities/gmod_wire_expression2/init.lua b/lua/entities/gmod_wire_expression2/init.lua index 1362b8b14f..00610311f9 100644 --- a/lua/entities/gmod_wire_expression2/init.lua +++ b/lua/entities/gmod_wire_expression2/init.lua @@ -828,6 +828,11 @@ function ENT:ApplyDupeInfo(ply, ent, info, GetEntByID, GetConstByID) self.GlobalScope[k] = istable(v) and Angle(v[1], v[2], v[3]) or v elseif vartype == "v" then self.GlobalScope[k] = istable(v) and Vector(v[1], v[2], v[3]) or v + elseif vartype == "t" then + if istable(v) and getmetatable(v) == nil then + setmetatable(v, WireLib.E2Table) + end + self.GlobalScope[k] = v else self.GlobalScope[k] = v end