From 841ed401fda075f19dab8431832420f57cd27ae6 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 14 Nov 2015 19:05:09 +0000 Subject: [PATCH] fix angry animal attack --- api.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api.lua b/api.lua index 7f049e9..21b9325 100644 --- a/api.lua +++ b/api.lua @@ -1464,12 +1464,12 @@ minetest.register_entity(name, { }) self.pause_timer = r - set_animation(self, "stand") - self.state = "nada" -- temporary state + --set_animation(self, "stand") + --self.state = "nada" -- temporary state - minetest.after(r, function() - self.state = "stand" - end) + --minetest.after(r, function() + --self.state = "stand" + --end) end -- attack puncher and call other mobs for help