diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-12-03 20:33:42 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-12-03 20:33:42 +0000 |
commit | 0a6fdbc3f13eccb274ee29edd9ed8dcfc44f34e3 (patch) | |
tree | d591d0be5e6dfda6a7ac5df99e85f3c5a807348c | |
parent | dd04be9749ff59b1d0b9e5285d34ce7c63fd67ce (diff) |
self.animation check
-rw-r--r-- | api.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -384,7 +384,8 @@ function check_for_death(self) end -- default death function and die animation (if defined) - if self.animation.die_start + if self.animation + and self.animation.die_start and self.animation.die_end then self.attack = nil |