mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
fix error that happen in mp with dropped guns
This commit is contained in:
parent
8744545afc
commit
2d4256d804
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user