diff --git a/lua/entities/glorifiedbanking_atm/cl_init.lua b/lua/entities/glorifiedbanking_atm/cl_init.lua index 2ede4d1..4f63c31 100644 --- a/lua/entities/glorifiedbanking_atm/cl_init.lua +++ b/lua/entities/glorifiedbanking_atm/cl_init.lua @@ -1012,6 +1012,8 @@ end --Animation networking net.Receive("GlorifiedBanking.SendAnimation", function() local ent = net.ReadEntity() + if not (IsValid(ent) and ent.PlayGBAnim) then return end + ent:PlayGBAnim(net.ReadUInt(3)) ent.RequiresAttention = false end)