Bug fixes

This commit is contained in:
ElCeejo 2022-07-22 16:48:59 -07:00
parent fc6a203da2
commit 72f55abc2d
3 changed files with 3 additions and 4 deletions

View file

@ -305,7 +305,7 @@ creatura.register_movement_method("creatura:obstacle_avoidance", function(self)
_self:halt()
return true
end
--local steer_to = get_avoidance_dir(_self, goal)
local steer_to = get_avoidance_dir(_self, goal)
-- Get movement direction
local goal_dir = vec_dir(pos, goal)
if steer_to then