summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-04-14 21:07:27 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-04-14 21:07:27 +0100
commit00f46f66d5fb99cba0dae2aea5fdbced4d722d2c (patch)
tree7730d40b76d50e62ac30b7dbc48a132934ca4f04
parent044d8f8169fd2e8bdd5c006a8fdb36ce21efd536 (diff)
fix variable bug
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index fab11e3..d61aa89 100644
--- a/api.lua
+++ b/api.lua
@@ -3,7 +3,7 @@
mobs = {}
mobs.mod = "redo"
-mobs.version = "20180408"
+mobs.version = "20180414"
-- Intllib
@@ -160,7 +160,7 @@ local set_yaw = function(self, yaw, delay)
self.target_yaw = yaw
self.delay = delay
- return target_yaw
+ return self.target_yaw
end
-- global function to set mob yaw