diff --git a/lua/entities/base_glide_car/shared.lua b/lua/entities/base_glide_car/shared.lua index 93a1649..9725402 100644 --- a/lua/entities/base_glide_car/shared.lua +++ b/lua/entities/base_glide_car/shared.lua @@ -183,6 +183,7 @@ if CLIENT then -- to update animations (the steering wheel for example). function ENT:OnUpdateAnimations() self:SetPoseParameter( "vehicle_steer", self:GetSteering() ) + self:InvalidateBoneCache() end end diff --git a/lua/entities/gtav_sanchez.lua b/lua/entities/gtav_sanchez.lua index 292343b..6f97682 100644 --- a/lua/entities/gtav_sanchez.lua +++ b/lua/entities/gtav_sanchez.lua @@ -54,6 +54,7 @@ if CLIENT then self:SetPoseParameter( "suspension_front", 1 - ( Abs( self:GetWheelOffset( 1 ) ) / 7 ) ) self:SetPoseParameter( "suspension_rear", 1 - ( Abs( self:GetWheelOffset( 2 ) ) / 7 ) ) + self:InvalidateBoneCache() if not self.frontBoneId then return end