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.mod = "redo"
|
||||
@ -112,8 +112,7 @@ set_yaw = function(self, yaw)
|
||||
return
|
||||
end
|
||||
|
||||
--self.yaw = yaw - self.rotate
|
||||
self.yaw = yaw
|
||||
self.yaw = yaw + self.rotate
|
||||
self.object:setyaw(self.yaw)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user