Skip to content

Commit

Permalink
Fix animation controller error
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDotBat committed Jul 17, 2020
1 parent f39b1ec commit 80491c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/glorifiedbanking_atm/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 80491c3

Please sign in to comment.