Disable object collision of dead mobs

This commit is contained in:
Wuzzy 2020-12-05 05:20:43 +01:00
parent b6c6602d13
commit 57e24fc705

@ -806,6 +806,7 @@ local check_for_death = function(self, cause, cmi_cause)
self.state = "die"
self.object:set_properties({
pointable = false,
collide_with_objects = false,
})
set_velocity(self, 0)