fix pos_to_yaw missing rot

master
tenplus1 2020-06-16 20:53:05 +01:00
parent ad116aa70e
commit 83e9180853
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20200609",
version = "20200616",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {}
}
@ -590,7 +590,7 @@ local yaw_to_pos = function(self, target, rot)
yaw = yaw + pi
end
yaw = self:set_yaw(yaw, 6)
yaw = self:set_yaw(yaw, rot)
return yaw
end