diff --git a/mese_monster.lua b/mese_monster.lua index 9e9ecb6..9e2a32b 100644 --- a/mese_monster.lua +++ b/mese_monster.lua @@ -209,6 +209,15 @@ mobs:register_mob("mobs_monster:mese_monster", { punch_end = 189 }, + after_activate = function(self, staticdata, def, dtime) + + local tex = self and self.textures and self.textures[1] + + if tex == "zmobs_mese_monster.png" then + self.object:remove() + end + end, + on_spawn = function(self) local pos = self.object:get_pos()