forked from mtcontrib/mobs_redo
fix variable bug
This commit is contained in:
parent
044d8f8169
commit
00f46f66d5
4
api.lua
4
api.lua
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
mobs = {}
|
mobs = {}
|
||||||
mobs.mod = "redo"
|
mobs.mod = "redo"
|
||||||
mobs.version = "20180408"
|
mobs.version = "20180414"
|
||||||
|
|
||||||
|
|
||||||
-- Intllib
|
-- Intllib
|
||||||
@ -160,7 +160,7 @@ local set_yaw = function(self, yaw, delay)
|
|||||||
|
|
||||||
self.target_yaw = yaw
|
self.target_yaw = yaw
|
||||||
self.delay = delay
|
self.delay = delay
|
||||||
return target_yaw
|
return self.target_yaw
|
||||||
end
|
end
|
||||||
|
|
||||||
-- global function to set mob yaw
|
-- global function to set mob yaw
|
||||||
|
Loading…
Reference in New Issue
Block a user