Make dying mobs non-pointable

This commit is contained in:
Wuzzy 2020-08-19 18:38:38 +02:00
parent 28aead0a60
commit f00dc21252

@ -674,6 +674,9 @@ local check_for_death = function(self, cause, cmi_cause)
self.blinktimer = 0
self.passive = true
self.state = "die"
self.object:set_properties({
pointable = false,
})
set_velocity(self, 0)
set_animation(self, "die")