summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-07-21 15:20:14 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-07-21 15:20:14 +0100
commita470ac7cc1786c188866ca57d4a0d13e3e8f37d0 (patch)
tree87ff2cf866a3cb8e7ba074782a0332f5e5055d6e
parent542cb3d474fbb1dd85a1032ca974ed1b767c0d9b (diff)
Added particle effect when mob dies
-rw-r--r--api.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/api.lua b/api.lua
index 45ab5d7..4ccdda4 100644
--- a/api.lua
+++ b/api.lua
@@ -359,6 +359,8 @@ function check_for_death(self)
self.object:remove()
+ effect(pos, 20, "tnt_smoke.png")
+
return true
end