mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
Make dying mobs non-pointable
This commit is contained in:
parent
28aead0a60
commit
f00dc21252
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue