Fix local go_to_pos call

This commit is contained in:
cora 2022-11-27 21:13:56 +01:00
parent 5e022ef083
commit 318da7e3c9

View File

@ -754,7 +754,7 @@ function mob_class:check_herd(dtime)
y = o:get_yaw()
end
if p then
go_to_pos(self,p)
self:go_to_pos(p)
elseif y then
self:set_yaw(y)
end