summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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