mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-11 10:20:21 +01:00
fix pos_to_yaw missing rot
This commit is contained in:
parent
ad116aa70e
commit
83e9180853
4
api.lua
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user