See if this fixes animals glitching out of enclosures

This commit is contained in:
TenPlus1 2016-10-14 18:47:04 +01:00
parent e3e00b24a0
commit 3f61935a07

View File

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