summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 833fa9d..f1ef42a 100644
--- a/api.lua
+++ b/api.lua
@@ -361,7 +361,7 @@ function check_for_death(self)
if self.on_die then
self.on_die(self, pos)
-
+self.object:remove()
return true
end