updated yaw

master
TenPlus1 2017-01-19 11:49:04 +00:00
parent 44659da768
commit 3ba7defa3a
1 changed files with 2 additions and 3 deletions

View File

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