ARC-9 icon indicating copy to clipboard operation
ARC-9 copied to clipboard

Owner's CanZoom doesn't get reset when weapon is dropped or removed

Open grande1900 opened this issue 1 year ago • 0 comments

addons/arc-9/lua/weapons/arc9_base/sh_init.lua:247:

function SWEP:OnDrop()
    self:EndLoop()
    self:KillShield()
    self:InvalidateCache()
    self:SetReady(false)
end

function SWEP:OnRemove()
    self:EndLoop()
    if SERVER then
        self:KillShield()
    end
end

and additionally OnRemove and OnDrop can't use GetOwner image

grande1900 avatar Aug 21 '23 03:08 grande1900