1
0
Fork 0

Fix local go_to_pos call

This commit is contained in:
cora 2022-11-27 21:13:56 +01:00
parent 5e022ef083
commit 318da7e3c9
1 changed files with 1 additions and 1 deletions

View File

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