Various fixes

This commit is contained in:
ElCeejo 2022-08-13 23:15:43 -07:00
parent 70f6128b02
commit a1df98eed7
5 changed files with 16 additions and 4 deletions

View file

@ -1049,7 +1049,7 @@ creatura.register_utility("animalia:mount_horse", function(self, player)
local yaw = self.object:get_yaw()
local tyaw = player:get_look_horizontal()
if abs(yaw - tyaw) > 0.1 then
_self:turn_to()
_self:turn_to(tyaw)
end
_self:set_forward_velocity(_self.speed * speed_factor)
_self:animate(anim)