Clear mob animation on activate

This commit is contained in:
jordan4ibanez 2021-04-16 14:19:22 -04:00
parent d0695e7929
commit adc683c6a7

View file

@ -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