updated yaw

This commit is contained in:
TenPlus1 2017-01-19 11:49:04 +00:00
parent 44659da768
commit 3ba7defa3a

View File

@ -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