fix error that happen in mp with dropped guns

This commit is contained in:
Darsu 2024-10-30 02:54:58 +07:00
parent 8744545afc
commit 2d4256d804

View File

@ -6,7 +6,7 @@ end
function SWEP:DoPlayerAnimationEvent(event)
-- if CLIENT and self:ShouldTPIK() then return end
if event then self:GetOwner():AnimRestartGesture(1, event, true) end
if event and IsValid(self:GetOwner()) then self:GetOwner():AnimRestartGesture(1, event, true) end
if SERVER then self:CallOnClient("DoPlayerAnimationEvent", event) end
end