mirror of
https://github.com/HaodongMo/ArcCW.git
synced 2025-03-04 03:13:30 -05:00
ensure networktpanim is trying to animate a player
This commit is contained in:
parent
e4e4a3afd5
commit
b103744a8b
@ -289,7 +289,7 @@ if CLIENT then
|
||||
local ent = net.ReadEntity()
|
||||
local aseq = net.ReadUInt(16)
|
||||
local starttime = net.ReadFloat()
|
||||
if IsValid(ent) && ent ~= LocalPlayer() then
|
||||
if IsValid(ent) and ent ~= LocalPlayer() and ent:IsPlayer() then
|
||||
ent:AddVCDSequenceToGestureSlot( GESTURE_SLOT_ATTACK_AND_RELOAD, aseq, starttime, true )
|
||||
end
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user