fix mobs shaking a lot

This commit is contained in:
epCode 2022-10-09 17:29:28 -07:00
parent c500dc98f9
commit 090c5b086a
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ local set_yaw = function(self, yaw, delay, dtime)
ddtime = dtime
end
if math.abs(target_shortest_path) > 120*ddtime then
if math.abs(target_shortest_path) > 200*ddtime then
if target_shortest_path > 0 then
self.object:set_yaw(self.object:get_yaw()+3*ddtime)
else