From a898c4de0b221f4b4058e6c8a27960d0d0c1c62b Mon Sep 17 00:00:00 2001 From: runs Date: Fri, 29 May 2020 02:16:19 +0200 Subject: [PATCH] fixes --- petz/mobkit/bh_head.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petz/mobkit/bh_head.lua b/petz/mobkit/bh_head.lua index 1c365bd..b5c9a1e 100644 --- a/petz/mobkit/bh_head.lua +++ b/petz/mobkit/bh_head.lua @@ -2,7 +2,6 @@ local modpath, S = ... function petz.bh_look_at(self, player_pos, prty) if not(self.looking) then - mobkit.animate(self, "idle") petz.hq_look_at(self, player_pos, prty) return true end @@ -13,6 +12,7 @@ function petz.hq_look_at(self, player_pos, prty) if not(self.looking) then local random_time = math.random(2, 3) petz.move_head(self, player_pos) + mobkit.animate(self, "idle") minetest.after(random_time, function(self) if mobkit.is_alive(self) then mobkit.clear_queue_low(self)