summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-01-19 11:49:04 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-01-19 11:49:04 +0000
commit3ba7defa3a47508b4b8b6d237db521d7fc7b0735 (patch)
treef333ec8b34e4a5df94078d5a796caf00d2dc65c0 /api.lua
parent44659da76892ec2e496fcae510bace9b46306c6d (diff)
updated yaw
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/api.lua b/api.lua
index 68d2e97..b85cd20 100644
--- a/api.lua
+++ b/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