1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 02:00:21 +01:00

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

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