mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-07-30 11:14:48 -04:00
Various fixes
This commit is contained in:
parent
70f6128b02
commit
a1df98eed7
5 changed files with 16 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue