From 83e91808536dd39e5c6a989bc1838b83e8e11d00 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Tue, 16 Jun 2020 20:53:05 +0100 Subject: [PATCH] fix pos_to_yaw missing rot --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index e42d44c..ea409fd 100644 --- a/api.lua +++ b/api.lua @@ -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