forked from MineClone5/MineClone5
Clear mob animation on activate
This commit is contained in:
parent
d0695e7929
commit
adc683c6a7
|
@ -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 New Issue