From 3f61935a07a499b972a949ad13656ba953f9bde7 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 14 Oct 2016 18:47:04 +0100 Subject: [PATCH] See if this fixes animals glitching out of enclosures --- api.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/api.lua b/api.lua index 894dcac..88da0c2 100644 --- a/api.lua +++ b/api.lua @@ -1,5 +1,5 @@ --- Mobs Api (9th October 2016) +-- Mobs Api (14th October 2016) mobs = {} mobs.mod = "redo" @@ -566,11 +566,6 @@ do_jump = function(self) max_hear_distance = self.sounds.distance }) end - else - if self.state ~= "attack" then - self.state = "stand" - set_animation(self, "stand") - end end end