forked from mtcontrib/mobs_redo
updated yaw
This commit is contained in:
parent
44659da768
commit
3ba7defa3a
5
api.lua
5
api.lua
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
-- Mobs Api (17th January 2017)
|
-- Mobs Api (19th January 2017)
|
||||||
|
|
||||||
mobs = {}
|
mobs = {}
|
||||||
mobs.mod = "redo"
|
mobs.mod = "redo"
|
||||||
@ -112,8 +112,7 @@ set_yaw = function(self, yaw)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
--self.yaw = yaw - self.rotate
|
self.yaw = yaw + self.rotate
|
||||||
self.yaw = yaw
|
|
||||||
self.object:setyaw(self.yaw)
|
self.object:setyaw(self.yaw)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user