diff --git a/lua/weapons/arc9_base/cl_model.lua b/lua/weapons/arc9_base/cl_model.lua index 23db3690..3bb8015a 100644 --- a/lua/weapons/arc9_base/cl_model.lua +++ b/lua/weapons/arc9_base/cl_model.lua @@ -123,9 +123,9 @@ function SWEP:GetAttachmentPos(slottbl, wm, idle, nomodeloffset, custompos, cust bang = customang or a0 end - + local cust = self:GetCustomize() local possiblecache = self.AttPosCache[slottbl.Address] -- att pos cache - if possiblecache then + if !cust and possiblecache then if (possiblecache[4] or 0) > CurTime() then local qpos, qang = llLocalToWorld(possiblecache[1], possiblecache[2], bpos, bang) return qpos, qang, possiblecache[3] @@ -202,7 +202,7 @@ function SWEP:GetAttachmentPos(slottbl, wm, idle, nomodeloffset, custompos, cust apos = data.pos or apos aang = data.ang or aang - if slottbl.Address then -- att pos cache + if slottbl.Address and !cust then -- att pos cache local ypos, yang = wwWorldToLocal(apos, aang, bpos, bang) self.AttPosCache[slottbl.Address] = {ypos, yang, icon_offset, CurTime() + 5} end