mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Clear mob animation on activate
This commit is contained in:
parent
d0695e7929
commit
adc683c6a7
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ mobs.mob_activate = function(self, staticdata, def, dtime)
|
|||
self.wandering = true
|
||||
end
|
||||
|
||||
--clear animation
|
||||
self.current_animation = nil
|
||||
|
||||
-- select random texture, set model and size
|
||||
if not self.base_texture then
|
||||
|
||||
|
|
Loading…
Reference in a new issue