diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-23 08:57:51 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-23 08:57:51 +0100 |
commit | 53563fe43088b18cdcc8577a43627d7bf0c0bdcf (patch) | |
tree | 666b8d8c31a73e12772c97debc44adab1f5f212f /api.lua | |
parent | 0d27bbe02da67ed6bdf9a171179077919b23eba4 (diff) |
added animation loop flag
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ --- Mobs Api (19th June 2017) +-- Mobs Api (23rd June 2017) mobs = {} mobs.mod = "redo" -mobs.version = "20170619" +mobs.version = "20170623" -- Intllib @@ -157,9 +157,9 @@ local set_animation = function(self, anim) self.object:set_animation({ x = self.animation[anim .. "_start"], - y = self.animation[anim .. "_end"] - }, self.animation[anim .. "_speed"] or self.animation.speed_normal or 15) - + y = self.animation[anim .. "_end"]}, + self.animation[anim .. "_speed"] or self.animation.speed_normal or 15, + 0, self.animation[anim .. "_loop"] ~= false) end |