added entity removal to on_die custom functions

This commit is contained in:
TenPlus1 2016-09-07 19:39:29 +01:00
parent 5158bf3123
commit b844712d48
1 changed files with 1 additions and 1 deletions

View File

@ -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