mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-02-17 02:55:02 +01:00
Disable object collision of dead mobs
This commit is contained in:
parent
b6c6602d13
commit
57e24fc705
1 changed files with 1 additions and 0 deletions
|
@ -806,6 +806,7 @@ local check_for_death = function(self, cause, cmi_cause)
|
||||||
self.state = "die"
|
self.state = "die"
|
||||||
self.object:set_properties({
|
self.object:set_properties({
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
collide_with_objects = false,
|
||||||
})
|
})
|
||||||
set_velocity(self, 0)
|
set_velocity(self, 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue